Kaydet (Commit) edb35125 authored tarafından Ezio Melotti's avatar Ezio Melotti

Remove the check_warnings. The mkarg warning is raised only with -3 and…

Remove the check_warnings. The mkarg warning is raised only with -3 and check_warning fails if the error is not raised.
üst 7b688250
......@@ -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():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment