From 8450e100017f1ce6f9577465179e0343781aee2d Mon Sep 17 00:00:00 2001 From: Padraic Fanning Date: Wed, 28 Apr 2021 18:30:22 -0400 Subject: [PATCH] Mark erroring tests on Windows --- Lib/test/test_popen.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Lib/test/test_popen.py b/Lib/test/test_popen.py index da01a878f..4ed3a2cdd 100644 --- a/Lib/test/test_popen.py +++ b/Lib/test/test_popen.py @@ -53,10 +53,18 @@ class PopenTest(unittest.TestCase): with os.popen("echo hello") as f: self.assertEqual(f.read(), "hello\n") + # TODO: RUSTPYTHON + if sys.platform == "win32": + test_contextmanager = unittest.expectedFailure(test_contextmanager) + def test_iterating(self): with os.popen("echo hello") as f: self.assertEqual(list(f), ["hello\n"]) + # TODO: RUSTPYTHON + if sys.platform == "win32": + test_iterating = unittest.expectedFailure(test_iterating) + def test_keywords(self): with os.popen(cmd="exit 0", mode="w", buffering=-1): pass