diff options
| author | Claude Paroz <claude@2xlibre.net> | 2017-01-20 10:20:53 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2017-01-20 14:13:55 +0100 |
| commit | 042b7350a080cc964f913faf1cf7f0097f650a58 (patch) | |
| tree | 4ad77d8fc8ae016770afe01a543a6042fa02357a /tests/str | |
| parent | 4e729feaa647547f25debb1cb63dec989dc41a20 (diff) | |
Refs #23919 -- Removed unneeded str() calls
Diffstat (limited to 'tests/str')
| -rw-r--r-- | tests/str/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/str/tests.py b/tests/str/tests.py index 2d82c03ebf..db21ccb2d9 100644 --- a/tests/str/tests.py +++ b/tests/str/tests.py @@ -30,5 +30,5 @@ class SimpleTests(TestCase): # coerce the returned value. self.assertIsInstance(obj.__str__(), str) self.assertIsInstance(obj.__repr__(), str) - self.assertEqual(str(obj), str('Default object')) - self.assertEqual(repr(obj), str('<Default: Default object>')) + self.assertEqual(str(obj), 'Default object') + self.assertEqual(repr(obj), '<Default: Default object>') |
