mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Refs #23919 -- Removed six.<various>_types usage
Thanks Tim Graham and Simon Charette for the reviews.
This commit is contained in:
@@ -226,7 +226,7 @@ class AssertQuerysetEqualTests(TestCase):
|
||||
class CaptureQueriesContextManagerTests(TestCase):
|
||||
|
||||
def setUp(self):
|
||||
self.person_pk = six.text_type(Person.objects.create(name='test').pk)
|
||||
self.person_pk = str(Person.objects.create(name='test').pk)
|
||||
|
||||
def test_simple(self):
|
||||
with CaptureQueriesContext(connection) as captured_queries:
|
||||
|
||||
Reference in New Issue
Block a user