Update mypy 0.782 -> 0.790

This commit is contained in:
Ran Benita
2020-10-17 16:54:54 +03:00
parent e5e47c1097
commit 1b23a111d2
13 changed files with 20 additions and 24 deletions

View File

@@ -1595,7 +1595,7 @@ class TestPyCacheDir:
if prefix:
if sys.version_info < (3, 8):
pytest.skip("pycache_prefix not available in py<38")
monkeypatch.setattr(sys, "pycache_prefix", prefix) # type:ignore
monkeypatch.setattr(sys, "pycache_prefix", prefix)
assert get_cache_dir(Path(source)) == Path(expected)