mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282.
Thanks Collin Anderson for the review.
This commit is contained in:
committed by
Loic Bistuer
parent
caf5cd7ba7
commit
b2aad7b836
@@ -25,7 +25,7 @@ class RecorderTests(TestCase):
|
||||
recorder.record_applied("myapp", "0432_ponies")
|
||||
self.assertEqual(
|
||||
set((x, y) for (x, y) in recorder.applied_migrations() if x == "myapp"),
|
||||
set([("myapp", "0432_ponies")]),
|
||||
{("myapp", "0432_ponies")},
|
||||
)
|
||||
# That should not affect records of another database
|
||||
recorder_other = MigrationRecorder(connections['other'])
|
||||
|
||||
Reference in New Issue
Block a user