mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
unit tests: use f-strings (#10993)
This commit is contained in:
@@ -132,7 +132,7 @@ def test_how_many_dots(identifier, id_type, quoted_identifier, msg):
|
||||
assert pg_quote_identifier(identifier, id_type) == quoted_identifier
|
||||
|
||||
with pytest.raises(SQLParseError) as ex:
|
||||
pg_quote_identifier('%s.more' % identifier, id_type)
|
||||
pg_quote_identifier(f'{identifier}.more', id_type)
|
||||
|
||||
ex.match(msg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user