Skip to content

Commit e871924

Browse files
committed
docstring for test
1 parent 7c934c1 commit e871924

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

effect/test_do.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def f():
157157

158158
@mark.skipif(not six.PY3, reason="Testing a Py3-specific feature")
159159
def test_py3_return():
160+
"""The `return x` syntax in Py3 sets the result of the Effect to `x`."""
160161
from effect._test_do_py3 import py3_generator_with_return
161162
eff = py3_generator_with_return()
162163
assert perf(eff) == 2

0 commit comments

Comments
 (0)