mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-07-15 07:40:21 -05:00
make unittest2 error show up in stderr
original-commit-id: 914470651080df7cf0bf36e3fa45ed299dd694ec
This commit is contained in:
parent
72b6a83754
commit
88d1cd8197
|
|
@ -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