diff --git a/Lib/test/test_commands.py b/Lib/test/test_commands.py index 5cb6e86b29c..827f1084d14 100644 --- a/Lib/test/test_commands.py +++ b/Lib/test/test_commands.py @@ -58,11 +58,7 @@ class CommandTests(unittest.TestCase): /\. # and end with the name of the file. ''' - with check_warnings((".*commands.getstatus.. is deprecated", - DeprecationWarning), - ("in 3.x, mkarg has been removed", - DeprecationWarning),): - self.assertTrue(re.match(pat, getstatus("/."), re.VERBOSE)) + self.assertTrue(re.match(pat, getstatus("/."), re.VERBOSE)) def test_main():