Used subTest() in migrate_signals.tests.MigrateSignalTests.test_args().
@@ -73,6 +73,7 @@ class MigrateSignalTests(TransactionTestCase):
)
for receiver in [pre_migrate_receiver, post_migrate_receiver]:
+ with self.subTest(receiver=receiver):
args = receiver.call_args
self.assertEqual(receiver.call_counter, 1)
self.assertEqual(set(args), set(SIGNAL_ARGS))
