diff --git a/Lib/test/test_optparse.py b/Lib/test/test_optparse.py index 1b43f9ad2f3..183a9df1157 100644 --- a/Lib/test/test_optparse.py +++ b/Lib/test/test_optparse.py @@ -757,7 +757,7 @@ def test_option_consumes_optionlike_string(self): def test_combined_single_invalid_option(self): self.parser.add_option("-t", action="store_true") self.assertParseFail(["-test"], - "no such option: -e") + "no such option: -e") class TestBool(BaseTest): def setUp(self):