From 88d1cd8197b3e1dd3cd1bd8b545e7f58affa00fc Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sat, 2 Jun 2012 11:42:09 -0500 Subject: make unittest2 error show up in stderr original-commit-id: 914470651080df7cf0bf36e3fa45ed299dd694ec --- crystal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"): -- cgit v1.2.3