summaryrefslogtreecommitdiff
path: root/tests/testsentinel.py
diff options
context:
space:
mode:
authorMichael Foord <michael@voidspace.org.uk>2011-01-23 19:31:07 +0000
committerMichael Foord <michael@voidspace.org.uk>2011-01-23 19:31:07 +0000
commitfc4f069805a5928f763baf9bfcc6b7e1b9680a80 (patch)
tree7a323d83c3ee56bae6d41bb1a20de7d3bb856deb /tests/testsentinel.py
parentc9e623aa18708be041450a6a4c93d0f6b608ee4c (diff)
downloadmock-fc4f069805a5928f763baf9bfcc6b7e1b9680a80.tar.gz
Fix recursion problem with mock.reset_mock when a mock is its own return value
Diffstat (limited to 'tests/testsentinel.py')
-rw-r--r--tests/testsentinel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testsentinel.py b/tests/testsentinel.py
index 4c355d7..bb402b3 100644
--- a/tests/testsentinel.py
+++ b/tests/testsentinel.py
@@ -11,7 +11,7 @@ class SentinelTest(unittest2.TestCase):
def testSentinels(self):
self.assertEqual(sentinel.whatever, sentinel.whatever, 'sentinel not stored')
- self.assertNotEquals(sentinel.whatever, sentinel.whateverelse, 'sentinel should be unique')
+ self.assertNotEqual(sentinel.whatever, sentinel.whateverelse, 'sentinel should be unique')
def testSentinelName(self):