forked from goodboy/tractor
On windows .spawn dne?
parent
a934eb063c
commit
fd59f4ad16
|
@ -41,7 +41,7 @@ def mk_cmd(ex_name: str) -> str:
|
||||||
def spawn(
|
def spawn(
|
||||||
testdir,
|
testdir,
|
||||||
arb_addr,
|
arb_addr,
|
||||||
) -> pexpect.spawn:
|
) -> 'pexpect.spawn':
|
||||||
|
|
||||||
def _spawn(cmd):
|
def _spawn(cmd):
|
||||||
return testdir.spawn(
|
return testdir.spawn(
|
||||||
|
@ -355,7 +355,6 @@ def test_root_nursery_cancels_before_child_releases_tty_lock(spawn):
|
||||||
|
|
||||||
child.sendline('c')
|
child.sendline('c')
|
||||||
|
|
||||||
|
|
||||||
child.expect(pexpect.EOF)
|
child.expect(pexpect.EOF)
|
||||||
before = str(child.before.decode())
|
before = str(child.before.decode())
|
||||||
assert "tractor._exceptions.RemoteActorError: ('spawner0'" in before
|
assert "tractor._exceptions.RemoteActorError: ('spawner0'" in before
|
||||||
|
|
Loading…
Reference in New Issue