We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f4e2a5 commit 0ff1027Copy full SHA for 0ff1027
1 file changed
testflo/test.py
@@ -63,7 +63,8 @@ def testcontext(test):
63
test.err_msg = traceback.format_exc()
64
finally:
65
sys.path = old_sys_path
66
- del os.environ['TESTFLO_SPEC']
+ if 'TESTFLO_SPEC' in os.environ:
67
+ del os.environ['TESTFLO_SPEC']
68
69
70
class Test(object):
0 commit comments