Apply Python 3 futurize transform libfuturize.fixes.fix_raise

Refer to #256
This commit is contained in:
Eklavya Sharma 2016-03-10 22:39:03 +05:30 committed by Tim Abbott
parent c59185e119
commit 1941201075
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ server = subprocess.Popen(('tools/run-dev.py', '--test'),
def assert_server_running():
# Get the exit code of the server, or None if it is still running.
if server.poll() is not None:
raise RuntimeError, 'Server died unexpectedly! Check frontend_tests/casper_tests/server.log'
raise RuntimeError('Server died unexpectedly! Check frontend_tests/casper_tests/server.log')
def server_is_up():
assert_server_running()