diff options
author | Bryan Bishop <kanzure@gmail.com> | 2012-06-02 11:42:09 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2012-06-02 11:42:09 -0500 |
commit | 88d1cd8197b3e1dd3cd1bd8b545e7f58affa00fc (patch) | |
tree | 3004f39ee299e1865d6952de25e3928fb81aee1b | |
parent | 72b6a83754b0cca314ffc05a612934e5a1e0b6c6 (diff) |
make unittest2 error show up in stderr
original-commit-id: 914470651080df7cf0bf36e3fa45ed299dd694ec
-rw-r--r-- | crystal.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"): |