From 03cadb912c78b769d6bf4a943a2a35fc1d952960 Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Sat, 18 Dec 2021 13:41:41 -0500 Subject: [PATCH] Removed a Python error message dependency in test_questioner_no_default_bad_user_entry_code(). --- tests/migrations/test_questioner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/migrations/test_questioner.py b/tests/migrations/test_questioner.py index 57749ed912..c9690d0b99 100644 --- a/tests/migrations/test_questioner.py +++ b/tests/migrations/test_questioner.py @@ -59,7 +59,7 @@ class QuestionerHelperMethodsTests(SimpleTestCase): def test_questioner_no_default_bad_user_entry_code(self, mock_input): with captured_stdout() as stdout, self.assertRaises(SystemExit): self.questioner._ask_default() - self.assertIn('Invalid input: unexpected EOF while parsing', stdout.getvalue()) + self.assertIn('Invalid input: ', stdout.getvalue()) @mock.patch('builtins.input', side_effect=['', 'n']) def test_questioner_no_default_no_user_entry_boolean(self, mock_input):