Skip to content

Commit f5656f4

Browse files
emmatypingJukkaL
authored andcommitted
Skip some stubgen tests on Windows (python#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

Lines changed: 2 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy