Skip to content

Commit 5b58b0c

Browse files
committed
- fix test code
1 parent 21cd7ed commit 5b58b0c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/transformer/test_tstring.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ def test_transform():
2020

2121
result = compile_restricted_exec('a = t"{max([1, 2, 3])}"')
2222
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
23+
assert result.warnings == []
2524
assert result.code is not None
2625
loc = {}
2726
exec(result.code, {}, loc)

0 commit comments

Comments
 (0)