From: A. Jesse Jiryu Davis Date: Sat, 12 Jul 2014 18:25:13 +0000 (-0400) Subject: Properly restore ASYNC_TEST_TIMEOUT after test. X-Git-Tag: v4.0.0~9^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd420dd574c9c7cc728177ab19622f4da3a0c42e;p=thirdparty%2Ftornado.git Properly restore ASYNC_TEST_TIMEOUT after test. --- diff --git a/tornado/test/testing_test.py b/tornado/test/testing_test.py index 1c8a86507..9d05126f8 100644 --- a/tornado/test/testing_test.py +++ b/tornado/test/testing_test.py @@ -13,7 +13,7 @@ import traceback @contextlib.contextmanager def set_environ(name, value): - old_value = os.environ.get('name') + old_value = os.environ.get(name) os.environ[name] = value try: