forked from goodboy/tractor
1
0
Fork 0

On windows .spawn dne?

bug_in_debug
Tyler Goodlet 2020-10-13 14:56:26 -04:00
parent a934eb063c
commit fd59f4ad16
1 changed files with 1 additions and 2 deletions

View File

@ -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