From aa02c99f95c3b91d15d11c1a88538cbe438bffb6 Mon Sep 17 00:00:00 2001 From: AlexWaygood Date: Tue, 30 Jan 2024 11:26:39 +0000 Subject: [PATCH] regr_test.py: Run mypy with `--no-incremental` --- tests/regr_test.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/regr_test.py b/tests/regr_test.py index 3d50aec406ea..b661ffae226d 100755 --- a/tests/regr_test.py +++ b/tests/regr_test.py @@ -177,6 +177,9 @@ def run_testcases( platform, "--strict", "--pretty", + # Avoid race conditions when reading the cache + # (https://github.com/python/typeshed/issues/11220) + "--no-incremental", ] if package.is_stdlib: