We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21cd7ed commit 5b58b0cCopy full SHA for 5b58b0c
tests/transformer/test_tstring.py
@@ -20,8 +20,7 @@ def test_transform():
20
21
result = compile_restricted_exec('a = t"{max([1, 2, 3])}"')
22
assert result.errors == ()
23
- assert result.warnings == [
24
- 'Line 1: TemplateStr statements are not yet allowed, please use f-strings or a real template engine instead.'] # NOQA: E501
+ assert result.warnings == []
25
assert result.code is not None
26
loc = {}
27
exec(result.code, {}, loc)
0 commit comments