diff options
| author | François Freitag <mail@franek.fr> | 2020-04-25 18:53:53 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-25 20:53:53 +0200 |
| commit | da606513db16a718e0566b3514ce0b3692fde088 (patch) | |
| tree | 6dffd7560e411888af34f8849d286e75084bd9ab | |
| parent | a92cc84b4a206d18a5f1a0eaa47f19add40ff99b (diff) | |
Removed unnecessary capturing of stdout in test_makemigrations_non_interactive_not_null_addition.
| -rw-r--r-- | tests/migrations/test_commands.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/migrations/test_commands.py b/tests/migrations/test_commands.py index f7f8a68d4c..598faa787c 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): """ |
