Skip to content

Commit f06c0c4

Browse files
committed
adjust test for StateVar
1 parent 8c2bd0e commit f06c0c4

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

tests/test_decorator_errors.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -194,15 +194,7 @@ def func_wrapup():
194194
"""Exception in <file.hello.func6 @state_active()> line 1:
195195
1 / pyscript.var1
196196
^
197-
TypeError: unsupported operand type(s) for /: 'int' and 'str'"""
198-
in caplog.text
199-
)
200-
201-
assert (
202-
"""Exception in <file.hello.func6 @state_active()> line 1:
203-
1 / pyscript.var1
204-
^
205-
TypeError: unsupported operand type(s) for /: 'int' and 'str'"""
197+
TypeError: unsupported operand type(s) for /: 'int' and 'StateVar'"""
206198
in caplog.text
207199
)
208200

0 commit comments

Comments
 (0)