diff options
| author | Éric Araujo <merwok@netwok.org> | 2020-05-07 14:29:20 -0400 |
|---|---|---|
| committer | Éric Araujo <merwok@netwok.org> | 2020-05-07 14:29:20 -0400 |
| commit | e1be97b3261661af865a0157f755fdc728b9f1f7 (patch) | |
| tree | 6094838c31cf413554a02ea8f56d36c8f6f82f24 /tests/test_util.py | |
| parent | ce6685e1b4a6c240ce9382464b1e0055a33d2b4a (diff) | |
| parent | 1722cbb7bf40ce9d3793faf38f63e9f00d577613 (diff) | |
| download | pyramid-e1be97b3261661af865a0157f755fdc728b9f1f7.tar.gz pyramid-e1be97b3261661af865a0157f755fdc728b9f1f7.tar.bz2 pyramid-e1be97b3261661af865a0157f755fdc728b9f1f7.zip | |
merge master
Diffstat (limited to 'tests/test_util.py')
| -rw-r--r-- | tests/test_util.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_util.py b/tests/test_util.py index 93493c683..8ed082ee4 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -472,7 +472,7 @@ class Test_object_description(unittest.TestCase): self.assertEqual(self._callFUT(('a', 'b')), "('a', 'b')") def test_set(self): - self.assertEqual(self._callFUT(set(['a'])), "{'a'}") + self.assertEqual(self._callFUT({'a'}), "{'a'}") def test_list(self): self.assertEqual(self._callFUT(['a']), "['a']") @@ -492,8 +492,7 @@ class Test_object_description(unittest.TestCase): def test_method(self): self.assertEqual( self._callFUT(self.test_method), - 'method test_method of class tests.test_util.' - 'Test_object_description', + 'function tests.test_util.test_method', ) def test_class(self): |
