0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-21 18:09:02 +01:00

Fix test syntax for Python<=3.11

This commit is contained in:
Matt Westcott 2024-07-11 12:12:51 +02:00
parent e1923f5c9e
commit 24fb4064e5

View File

@ -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")