Properly restore ASYNC_TEST_TIMEOUT after test.
This commit is contained in:
parent
1e3379732c
commit
cd420dd574
|
@ -13,7 +13,7 @@ import traceback
|
||||||
|
|
||||||
@contextlib.contextmanager
|
@contextlib.contextmanager
|
||||||
def set_environ(name, value):
|
def set_environ(name, value):
|
||||||
old_value = os.environ.get('name')
|
old_value = os.environ.get(name)
|
||||||
os.environ[name] = value
|
os.environ[name] = value
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue