[Python-checkins] r83622 - python/branches/release26-maint/Lib/test/test_commands.py

ezio.melotti python-checkins at python.org
Tue Aug 3 02:52:46 CEST 2010


Author: ezio.melotti
Date: Tue Aug  3 02:52:46 2010
New Revision: 83622

Log:
Remove the check_warnings. The mkarg warning is raised only with -3 and check_warning fails if the error is not raised.

Modified:
   python/branches/release26-maint/Lib/test/test_commands.py

Modified: python/branches/release26-maint/Lib/test/test_commands.py
==============================================================================
--- python/branches/release26-maint/Lib/test/test_commands.py	(original)
+++ python/branches/release26-maint/Lib/test/test_commands.py	Tue Aug  3 02:52:46 2010
@@ -58,11 +58,7 @@
                   /\.          # 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():


More information about the Python-checkins mailing list