diff --git a/tornado/test/testing_test.py b/tornado/test/testing_test.py index 1c8a8650..9d05126f 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: