Skip to content

Commit f5656f4

Browse files
emmatypingJukkaL
authored andcommitted
Skip some stubgen tests on Windows (#7964)
It appears they do not work.
1 parent 8ada8e2 commit f5656f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mypy/test/teststubgen.py

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
class StubgenCmdLineSuite(unittest.TestCase):
3232
"""Test cases for processing command-line options and finding files."""
3333

34+
@unittest.skipIf(sys.platform == 'win32', "clean up fails on Windows")
3435
def test_files_found(self) -> None:
3536
current = os.getcwd()
3637
with tempfile.TemporaryDirectory() as tmp:
@@ -51,6 +52,7 @@ def test_files_found(self) -> None:
5152
finally:
5253
os.chdir(current)
5354

55+
@unittest.skipIf(sys.platform == 'win32', "clean up fails on Windows")
5456
def test_packages_found(self) -> None:
5557
current = os.getcwd()
5658
with tempfile.TemporaryDirectory() as tmp:

0 commit comments

Comments
 (0)