aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests')
-rw-r--r--sources/pyside6/tests/pysidetest/mypy_correctness_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/tests/pysidetest/mypy_correctness_test.py b/sources/pyside6/tests/pysidetest/mypy_correctness_test.py
index ff90114ac..83d80efca 100644
--- a/sources/pyside6/tests/pysidetest/mypy_correctness_test.py
+++ b/sources/pyside6/tests/pysidetest/mypy_correctness_test.py
@@ -78,7 +78,7 @@ class MypyCorrectnessTest(unittest.TestCase):
for line in err_lines:
print(line)
print(f"Time used for mypy test = {(time_post - time_pre):.5} s")
- if ret.returncode != 0:
+ if ret.returncode != 0 and os.environ.get("QTEST_ENVIRONMENT", "") == "ci":
dump_erroneous_pyi_files(err_lines, self.pyside_dir)
self.assertEqual(ret.returncode, 0)