Skip to content

Commit b6bf389

Browse files
runner: check copy
1 parent db09c95 commit b6bf389

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/runner.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ def check_runner(x, t=timedelta(microseconds=1000)): # pylint: disable=missing-
3636
assert not x.stopped_by_predicate()
3737
assert x.timed_out()
3838

39-
x = x.copy() # copy
39+
assert x is not x.copy()
40+
41+
x = x.copy()
4042

4143
def func():
4244
global N # pylint: disable=global-statement

0 commit comments

Comments
 (0)