make sure calling undo a second time doesn't change sys.path
This commit is contained in:
@@ -104,3 +104,4 @@ class monkeypatch:
|
||||
self._setitem[:] = []
|
||||
if hasattr(self, '_savesyspath'):
|
||||
sys.path[:] = self._savesyspath
|
||||
del self._savesyspath
|
||||
|
||||
Reference in New Issue
Block a user