mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #23919 -- Removed str() conversion of type and method __name__.
This commit is contained in:
@@ -53,7 +53,7 @@ class GetUniqueCheckTests(unittest.TestCase):
|
||||
bar = models.IntegerField()
|
||||
baz = models.IntegerField()
|
||||
|
||||
Meta = type(str('Meta'), (), {
|
||||
Meta = type('Meta', (), {
|
||||
'unique_together': unique_together,
|
||||
'apps': Apps()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user