mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-06 12:54:29 +08:00
Removing state pollution in parser_cache
This commit is contained in:
@@ -188,3 +188,4 @@ def test_permission_error(monkeypatch):
|
|||||||
with pytest.warns(Warning):
|
with pytest.warns(Warning):
|
||||||
parse(path=__file__, cache=True, diff_cache=True)
|
parse(path=__file__, cache=True, diff_cache=True)
|
||||||
assert was_called
|
assert was_called
|
||||||
|
parser_cache.clear()
|
||||||
|
|||||||
Reference in New Issue
Block a user