Skip to content

Commit 21cd7ed

Browse files
committed
- fix test code
1 parent 088a8a5 commit 21cd7ed

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tests/transformer/test_tstring.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -79,20 +79,7 @@ def test_t_string_self_documenting_expressions():
7979
result = compile_restricted_exec(
8080
t_string_self_documenting_expressions_example,
8181
)
82-
# assert result.errors == (
83-
# 'Line 13: TemplateStr statements are not allowed.',
84-
# )
85-
# assert result.warnings == [
86-
# 'Line 13: TemplateStr statements are not yet allowed, please use '
87-
# 'f-strings or a real template engine instead.',
88-
# "Line None: Prints, but never reads 'printed' variable."
89-
# ]
90-
# assert result.code is None
9182
assert result.errors == ()
92-
assert result.warnings == [
93-
'Line 20: TemplateStr statements are not yet allowed, '
94-
'please use f-strings or a real template engine instead.',
95-
"Line None: Prints, but never reads 'printed' variable."]
9683
assert result.code is not None
9784

9885
glb = {

0 commit comments

Comments
 (0)