Skip to content

Commit 47fceb5

Browse files
committed
fix test_yield_non_effect since python 3.7 changed inner function naming
1 parent 0af08e7 commit 47fceb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

effect/test_do.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def f():
7070
perf(result)
7171
assert str(err_info.value).startswith(
7272
'@do functions must only yield Effects or results of '
73-
'do_return. Got 1 from <generator object f at')
73+
'do_return. Got 1 from <generator object')
7474

7575

7676
def test_raise_from_effect():

0 commit comments

Comments
 (0)