mirror of
https://github.com/wassname/catalyst.git
synced 2026-08-19 12:00:15 +08:00
BUG: Fix hardcoded type repr in test.
Types repr differently in py2 vs py3.
This commit is contained in:
@@ -65,6 +65,6 @@ class AdjustmentTestCase(TestCase):
|
||||
exc = e.exception
|
||||
expected_msg = (
|
||||
"Don't know how to make overwrite adjustments for values of type "
|
||||
"<class 'tests.pipeline.test_adjustment.SomeClass'>."
|
||||
"%r." % SomeClass
|
||||
)
|
||||
self.assertEqual(str(exc), expected_msg)
|
||||
|
||||
Reference in New Issue
Block a user