fix test to actually mean something useful (thanks Jurko)
This commit is contained in:
parent
40187ec9bb
commit
5093d8b925
|
@ -70,6 +70,7 @@ def test_setitem_deleted_meanwhile():
|
||||||
def test_setenv_deleted_meanwhile():
|
def test_setenv_deleted_meanwhile():
|
||||||
monkeypatch = MonkeyPatch()
|
monkeypatch = MonkeyPatch()
|
||||||
monkeypatch.setenv('XYZ123', 'hello')
|
monkeypatch.setenv('XYZ123', 'hello')
|
||||||
|
del os.environ['XYZ123']
|
||||||
monkeypatch.undo()
|
monkeypatch.undo()
|
||||||
assert 'XYZ123' not in os.environ
|
assert 'XYZ123' not in os.environ
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue