Skip to content

Commit 57b314c

Browse files
authored
Work around flaking mypy test (#1546)
Seems like Pytest 9's new caching is confusing it.
1 parent eca2ff5 commit 57b314c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_mypy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1360,6 +1360,7 @@
13601360
C(0).total = 1 # E: Property "total" defined in "C" is read-only [misc]
13611361
13621362
- case: testTypeInAttrDeferredStar
1363+
disable_cache: true # fails with cache w/ pytest 9 / pytest-mypy-plugins 4
13631364
main: |
13641365
import lib
13651366
files:
@@ -1381,6 +1382,7 @@
13811382
import lib
13821383
13831384
- case: testAttrsDefaultsMroOtherFile
1385+
disable_cache: true # fails with cache w/ pytest 9 / pytest-mypy-plugins 4
13841386
main: |
13851387
import a
13861388
files:

0 commit comments

Comments
 (0)