mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
make unittest2 error show up in stderr
This commit is contained in:
parent
376f65a4fd
commit
9144706510
@ -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"):
|
||||
|
Loading…
Reference in New Issue
Block a user