mirror of
https://github.com/davidhalter/parso.git
synced 2026-10-28 07:03:17 +08:00
Removing state pollution in parser_cache
This commit is contained in:
1 parent
e1523014e4
commit
5570975a7d
1 file changed
+1
@@ -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