Skip to content

Commit 93f149a

Browse files
committed
Use next
1 parent e14c61b commit 93f149a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def invalid_document():
3131

3232

3333
def run(g, outcome):
34-
g.send(None)
34+
next(g)
3535

3636
with pytest.raises(StopIteration):
3737
g.send(outcome)

0 commit comments

Comments
 (0)