From 914470651080df7cf0bf36e3fa45ed299dd694ec Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sat, 2 Jun 2012 11:42:09 -0500 Subject: [PATCH] make unittest2 error show up in stderr --- extras/crystal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/crystal.py b/extras/crystal.py index 820e4c258..6f6ba09a1 100644 --- a/extras/crystal.py +++ b/extras/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"):