From da606513db16a718e0566b3514ce0b3692fde088 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Freitag?= Date: Sat, 25 Apr 2020 18:53:53 +0000 Subject: [PATCH] Removed unnecessary capturing of stdout in test_makemigrations_non_interactive_not_null_addition. --- tests/migrations/test_commands.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/migrations/test_commands.py b/tests/migrations/test_commands.py index f7f8a68d4cb..598faa787c9 100644 --- a/tests/migrations/test_commands.py +++ b/tests/migrations/test_commands.py @@ -1193,10 +1193,9 @@ class MakeMigrationsTests(MigrationTestBase): class Meta: app_label = "migrations" - out = io.StringIO() with self.assertRaises(SystemExit): with self.temporary_migration_module(module="migrations.test_migrations_no_default"): - call_command("makemigrations", "migrations", interactive=False, stdout=out) + call_command("makemigrations", "migrations", interactive=False) def test_makemigrations_non_interactive_not_null_alteration(self): """