BUG: Fix hardcoded type repr in test.

Types repr differently in py2 vs py3.
This commit is contained in:
Scott Sanderson
2015-12-09 15:29:57 -05:00
parent f8ab8a5159
commit 64ce6d26aa
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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)