diff --git a/polymorphic/tests.py b/polymorphic/tests.py index 2992186..7d62d33 100644 --- a/polymorphic/tests.py +++ b/polymorphic/tests.py @@ -305,7 +305,7 @@ class PolymorphicTests(TestCase): self.assertIsInstance(a.uuid_primary_key, uuid.UUID) self.assertIsInstance(a.pk, uuid.UUID) - res = re.sub(' "(.*?)..", topic',', topic', repr(res)) + res = re.sub(' "(.*?)..", topic',', topic', repr(qs)) res_exp = """[ , , ]"""