Skip to content

Commit

Permalink
Skip some stubgen tests on Windows (python#7964)
Browse files Browse the repository at this point in the history
It appears they do not work.
  • Loading branch information
emmatyping authored and JukkaL committed Nov 18, 2019
1 parent 8ada8e2 commit f5656f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mypy/test/teststubgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
class StubgenCmdLineSuite(unittest.TestCase):
"""Test cases for processing command-line options and finding files."""

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

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

0 comments on commit f5656f4

Please sign in to comment.