From 02cdd68eb59cd023a1e0ed3c61a10956ff86225c Mon Sep 17 00:00:00 2001 From: Ethan Smith Date: Mon, 18 Nov 2019 04:11:08 -0800 Subject: [PATCH] Skip some stubgen tests on Windows It appears they do not work. --- mypy/test/teststubgen.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mypy/test/teststubgen.py b/mypy/test/teststubgen.py index dd5f56ba9243..6a1a287943aa 100644 --- a/mypy/test/teststubgen.py +++ b/mypy/test/teststubgen.py @@ -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: @@ -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: 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