From 2764dd7b4de16dfbfd2a79ce0e6ee99f0d5886d5 Mon Sep 17 00:00:00 2001 From: Padraic Fanning Date: Sun, 18 Apr 2021 15:32:10 -0400 Subject: [PATCH] Unmark passing tests --- Lib/test/test_mimetypes.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/Lib/test/test_mimetypes.py b/Lib/test/test_mimetypes.py index ca6ca538c..b625915ba 100644 --- a/Lib/test/test_mimetypes.py +++ b/Lib/test/test_mimetypes.py @@ -136,8 +136,6 @@ class MimeTypesTestCase(unittest.TestCase): strict=True) self.assertEqual(exts, ['.g3', '.g\xb3']) - # TODO: RUSTPYTHON - @unittest.expectedFailure def test_init_reinitializes(self): # Issue 4936: make sure an init starts clean # First, put some poison into the types table @@ -148,8 +146,6 @@ class MimeTypesTestCase(unittest.TestCase): # Poison should be gone. self.assertEqual(mimetypes.guess_extension('foo/bar'), None) - # TODO: RUSTPYTHON - @unittest.expectedFailure def test_preferred_extension(self): def check_extensions(): self.assertEqual(mimetypes.guess_extension('application/octet-stream'), '.bin') @@ -191,8 +187,6 @@ class MimeTypesTestCase(unittest.TestCase): self.assertEqual(types_map, mimetypes.types_map) self.assertEqual(common_types, mimetypes.common_types) - # TODO: RUSTPYTHON - @unittest.expectedFailure def test_path_like_ob(self): filename = "LICENSE.txt" filepath = pathlib.Path(filename) @@ -256,8 +250,6 @@ class MimetypesCliTestCase(unittest.TestCase): mimetypes._main() return output.getvalue().strip() - # TODO: RUSTPYTHON - @unittest.expectedFailure def test_help_option(self): support.patch(self, sys, "argv", [sys.executable, "-h"]) with support.captured_stdout() as output: @@ -267,8 +259,6 @@ class MimetypesCliTestCase(unittest.TestCase): self.assertIn("Usage: mimetypes.py", output.getvalue()) self.assertEqual(cm.exception.code, 0) - # TODO: RUSTPYTHON - @unittest.expectedFailure def test_invalid_option(self): support.patch(self, sys, "argv", [sys.executable, "--invalid"]) with support.captured_stdout() as output: @@ -278,8 +268,6 @@ class MimetypesCliTestCase(unittest.TestCase): self.assertIn("Usage: mimetypes.py", output.getvalue()) self.assertEqual(cm.exception.code, 1) - # TODO: RUSTPYTHON - @unittest.expectedFailure def test_guess_extension(self): eq = self.assertEqual @@ -292,8 +280,6 @@ class MimetypesCliTestCase(unittest.TestCase): extension = self.mimetypes_cmd("-e", "image/jpeg") eq(extension, ".jpg") - # TODO: RUSTPYTHON - @unittest.expectedFailure def test_guess_type(self): eq = self.assertEqual