]> granicus.if.org Git - python/commitdiff
Remove the check_warnings. The mkarg warning is raised only with -3 and check_warning...
authorEzio Melotti <ezio.melotti@gmail.com>
Tue, 3 Aug 2010 00:52:46 +0000 (00:52 +0000)
committerEzio Melotti <ezio.melotti@gmail.com>
Tue, 3 Aug 2010 00:52:46 +0000 (00:52 +0000)
Lib/test/test_commands.py

index 5cb6e86b29cc3fcf7cf709e6d332600658c41ccb..827f1084d1484a03fea80a73483e2eee6bfe87e0 100644 (file)
@@ -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():