From 247ae0d9e63065e1d834b874952d5b82965dcc58 Mon Sep 17 00:00:00 2001 From: Ivan Levkivskyi Date: Mon, 20 Apr 2026 22:46:25 +0100 Subject: [PATCH] Fix another test with unstable error order in parallel mode --- test-data/unit/check-modules.test | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/test-data/unit/check-modules.test b/test-data/unit/check-modules.test index 74dee17e8004..edd2eedbe013 100644 --- a/test-data/unit/check-modules.test +++ b/test-data/unit/check-modules.test @@ -2901,11 +2901,8 @@ from stub import c # E: Module "stub" has no attribute "c" from stub import d # E: Module "stub" does not explicitly export attribute "d" [file stub.pyi] -from mystery import a, b as b, c as d - -[out] -tmp/stub.pyi:1: error: Cannot find implementation or library stub for module named "mystery" -tmp/stub.pyi:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports +from mystery import a, b as b, c as d # E: Cannot find implementation or library stub for module named "mystery" \ + # N: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports [case testPackagePath] import p