Remove the check_warnings. The mkarg warning is raised only with -3 and check_warning fails if the error is not raised.
This commit is contained in:
parent
7b688250d1
commit
edb3512543
|
@ -58,10 +58,6 @@ class CommandTests(unittest.TestCase):
|
||||||
/\. # and end with the name of the file.
|
/\. # 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))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue