From a21ed6e71910ce95e5fd52f04fa1727714000afd Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Sun, 24 Nov 2024 16:29:12 -0500 Subject: [PATCH] will this simpler form also fail on ci? --- tests/migrations/test_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/migrations/test_commands.py b/tests/migrations/test_commands.py index 39e69f39d3f2d..3056a66b5197f 100644 --- a/tests/migrations/test_commands.py +++ b/tests/migrations/test_commands.py @@ -1108,7 +1108,7 @@ def test_sqlmigrate_unrepresentable(self): @override_settings(MIGRATION_MODULES={"migrations": "migrations.test_migrations"}) def test_sqlmigrate_transaction_keywords_not_colored(self): out = io.StringIO() - out.isatty = lambda x: True + out.isatty = lambda: True call_command("sqlmigrate", "migrations", "0001", stdout=out) self.assertNotIn("\x1b", out.getvalue())