Skip to content

Commit b45e6f3

Browse files
Joseph-Edwardsjames-d-mitchell
authored andcommitted
runner: check copy
1 parent 78a5c8a commit b45e6f3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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)