assertRegexpMatches arguments swapped in docs
30 Mar
2011
30 Mar
'11
2:42 p.m.
Hi, I noticed that the ``assertRegexpMatches`` of the unittest module works by passing first the regex and then the text to be tested. However in the docs the text comes before the regex. http://docs.python.org/library/unittest.html#unittest.TestCase.assertRegexpM... I'm on 2.7.1, BTW. Cheers, -- Danny Navarro | http://dannynavarro.net
4786
Age (days ago)
4786
Last active (days ago)
0 comments
1 participants
participants (1)
-
Danny Navarro