summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-06-02 11:42:09 -0500
committerBryan Bishop <kanzure@gmail.com>2012-06-02 11:42:09 -0500
commit88d1cd8197b3e1dd3cd1bd8b545e7f58affa00fc (patch)
tree3004f39ee299e1865d6952de25e3928fb81aee1b
parent72b6a83754b0cca314ffc05a612934e5a1e0b6c6 (diff)
make unittest2 error show up in stderr
original-commit-id: 914470651080df7cf0bf36e3fa45ed299dd694ec
-rw-r--r--crystal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/crystal.py b/crystal.py
index 820e4c2..6f6ba09 100644
--- a/crystal.py
+++ b/crystal.py
@@ -21,7 +21,7 @@ import string
# Check for things we need in unittest.
if not hasattr(unittest.TestCase, 'setUpClass'):
- print "The unittest2 module or Python 2.7 is required to run this script."
+ sys.stderr.write("The unittest2 module or Python 2.7 is required to run this script.")
sys.exit(1)
if not hasattr(json, "dumps"):