Skip to content

Commit

Permalink
py37 signature change for pexpect
Browse files Browse the repository at this point in the history
  • Loading branch information
kalefranz committed Jul 6, 2018
1 parent eef7a5d commit 604d509
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_activate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1030,8 +1030,8 @@ def __exit__(self, exc_type, exc_val, exc_tb):
def sendline(self, s):
return self.p.sendline(s)

def expect(self, pattern, timeout=-1, searchwindowsize=-1, async=False):
return self.p.expect(pattern, timeout, searchwindowsize, async)
def expect(self, pattern, timeout=-1, searchwindowsize=-1, async_=False):
return self.p.expect(pattern, timeout, searchwindowsize, async_)

def assert_env_var(self, env_var, value, use_exact=False):
# value is actually a regex
Expand Down

0 comments on commit 604d509

Please sign in to comment.