From a517531ece31c5a2d6155bdde94e899c94eb3e9a Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Tue, 14 Apr 2026 07:32:40 +0200 Subject: [PATCH] Work around flaking mypy test Seems like Pytest 9's new caching is confusing it. --- tests/test_mypy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_mypy.yml b/tests/test_mypy.yml index ea9bc31b4..60285e466 100644 --- a/tests/test_mypy.yml +++ b/tests/test_mypy.yml @@ -1360,6 +1360,7 @@ C(0).total = 1 # E: Property "total" defined in "C" is read-only [misc] - case: testTypeInAttrDeferredStar + disable_cache: true # fails with cache w/ pytest 9 / pytest-mypy-plugins 4 main: | import lib files: @@ -1381,6 +1382,7 @@ import lib - case: testAttrsDefaultsMroOtherFile + disable_cache: true # fails with cache w/ pytest 9 / pytest-mypy-plugins 4 main: | import a files: