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:
parent
d30104e57d
commit
7af87e08b9
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user