summaryrefslogtreecommitdiff
path: root/tests/migrations/test_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/migrations/test_commands.py')
-rw-r--r--tests/migrations/test_commands.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/migrations/test_commands.py b/tests/migrations/test_commands.py
index af83eb0a6a..699a3e994a 100644
--- a/tests/migrations/test_commands.py
+++ b/tests/migrations/test_commands.py
@@ -772,9 +772,7 @@ class MakeMigrationsTests(MigrationTestBase):
self.assertIn("No conflicts detected to merge.", out.getvalue())
def test_makemigrations_no_app_sys_exit(self):
- """
- makemigrations exits if a non-existent app is specified.
- """
+ """makemigrations exits if a nonexistent app is specified."""
err = io.StringIO()
with self.assertRaises(SystemExit):
call_command("makemigrations", "this_app_does_not_exist", stderr=err)