diff options
author | Michael Foord <michael@voidspace.org.uk> | 2012-01-15 01:24:34 +0000 |
---|---|---|
committer | Michael Foord <michael@voidspace.org.uk> | 2012-01-15 01:24:34 +0000 |
commit | 660776b63f288a8a217c8e6c868efe15890490a0 (patch) | |
tree | 9c5d1a35b48918b469198793a38d949822d6be79 /tests/testsentinel.py | |
parent | 4bdc718ec52687a40443fac3646a3748618a42ca (diff) | |
download | mock-660776b63f288a8a217c8e6c868efe15890490a0.tar.gz |
Doc updates
Improved repr for sentinel objects
Diffstat (limited to 'tests/testsentinel.py')
-rw-r--r-- | tests/testsentinel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testsentinel.py b/tests/testsentinel.py index 4d17eb1..981171a 100644 --- a/tests/testsentinel.py +++ b/tests/testsentinel.py @@ -17,7 +17,7 @@ class SentinelTest(unittest2.TestCase): def testSentinelName(self): - self.assertEqual(str(sentinel.whatever), '<SentinelObject "whatever">', + self.assertEqual(str(sentinel.whatever), 'sentinel.whatever', 'sentinel name incorrect') |