diff --git a/wagtail/search/tests/test_queries.py b/wagtail/search/tests/test_queries.py index 4b7e81b5bb..73f8cf2a7a 100644 --- a/wagtail/search/tests/test_queries.py +++ b/wagtail/search/tests/test_queries.py @@ -181,7 +181,7 @@ class TestParseQueryString(SimpleTestCase): def test_long_filter_value(self): filters, _ = parse_query_string(f'foo:ba{"r" * 60_000}') - self.assertEqual(filters.dict(), {"foo": f"ba{"r" * 60_000}"}) + self.assertEqual(filters.dict(), {"foo": f'ba{"r" * 60_000}'}) def test_joined_filters(self): filters, query = parse_query_string("foo:bar:baz")