From 6f0fe8073bdb5493fd5401537da03798209fbf9c Mon Sep 17 00:00:00 2001 From: Gustavo Niemeyer Date: Sat, 18 Sep 2010 17:45:55 -0300 Subject: Introduced the more natural reading assertIsNotInstance(). --- test.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test.py') diff --git a/test.py b/test.py index 37ae7b7..a8066c3 100755 --- a/test.py +++ b/test.py @@ -1134,6 +1134,10 @@ class MockerTestCaseTest(TestCase): self.assertEquals(get_method("assertIsInstance"), get_method("failUnlessIsInstance")) + self.assertEquals(get_method("assertIsNotInstance"), + get_method("failIfIsInstance")) + + # Poor choice in Python 2.7/3.2+. self.assertEquals(get_method("assertNotIsInstance"), get_method("failIfIsInstance")) -- cgit v1.2.1