mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Refs #23919 -- Removed six.<various>_types usage
Thanks Tim Graham and Simon Charette for the reviews.
This commit is contained in:
parent
f6acd1d271
commit
7b2f2e74ad
213 changed files with 574 additions and 763 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue