diff --git a/tests/test_cli.py b/tests/test_cli.py index a902d65..fd3fb45 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -207,7 +207,7 @@ def test_invalid_label_size(self): # a number. with self.assertRaisesRegex( cli.InvalidLabelSize, - r"^Invalid default label size\. Please choose one of the following:\\n\d.+$", # noqa: E501 + r"^Invalid default label size\. Please choose one of the following:\n\d.+$", # noqa: E501 ): cli.update_configuration_from_parameters( parameters=parameters, configuration=configuration