You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
make unittest2 error show up in stderr
This commit is contained in:
@@ -21,7 +21,7 @@ import string
|
|||||||
|
|
||||||
# Check for things we need in unittest.
|
# Check for things we need in unittest.
|
||||||
if not hasattr(unittest.TestCase, 'setUpClass'):
|
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)
|
sys.exit(1)
|
||||||
|
|
||||||
if not hasattr(json, "dumps"):
|
if not hasattr(json, "dumps"):
|
||||||
|
Reference in New Issue
Block a user