From 6936b4dc37dfd9d5236c1e6a9e33c3396f0f5213 Mon Sep 17 00:00:00 2001 From: wyattscarpenter Date: Wed, 10 Dec 2025 18:09:03 -0500 Subject: [PATCH 1/2] [nit] remove useless test comments https://github.com/python/mypy/commit/0d61fd06ee56c8ddb42436261524674f8c5a4975 seems to have added these useless --' comments by mistake. --- test-data/unit/cmdline.test | 2 -- 1 file changed, 2 deletions(-) diff --git a/test-data/unit/cmdline.test b/test-data/unit/cmdline.test index 030e365537d1..85d9fc920d19 100644 --- a/test-data/unit/cmdline.test +++ b/test-data/unit/cmdline.test @@ -117,7 +117,6 @@ sub.pkg is not a valid Python package name mypy: can't decode file 'a.py': unknown encoding: uft-8 == Return code: 2 --- ' [case testCannotIgnoreDuplicateModule] # cmd: mypy one/mod/__init__.py two/mod/__init__.py [file one/mod/__init__.py] @@ -546,7 +545,6 @@ a/b/c/d/e/__init__.py:3: error: Argument 1 to "g" has incompatible type "None"; [out] mypy: can't read file 'nope.py': No such file or directory == Return code: 2 ---' [case testModulesAndPackages] # cmd: mypy --package p.a --package p.b --module c From 30faf1f0796d526ea4b6111df3e73002c56b22d8 Mon Sep 17 00:00:00 2001 From: wyattscarpenter Date: Wed, 10 Dec 2025 18:17:58 -0500 Subject: [PATCH 2/2] Update check-incremental.test: remove -- ' https://github.com/python/mypy/commit/94745f54e38e521309d714ef9f61590b1f2967de seems to have added this by mistake --- test-data/unit/check-incremental.test | 1 - 1 file changed, 1 deletion(-) diff --git a/test-data/unit/check-incremental.test b/test-data/unit/check-incremental.test index a9370383ddd7..ad1168ce83dc 100644 --- a/test-data/unit/check-incremental.test +++ b/test-data/unit/check-incremental.test @@ -2336,7 +2336,6 @@ tmp/c.py:1: error: Module "d" has no attribute "x" [out] [out2] mypy: can't read file 'tmp/nonexistent.py': No such file or directory --- ' [case testSerializeAbstractPropertyIncremental] from abc import abstractmethod