diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/test_misc.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_misc.py b/tests/test_misc.py index d5a707c..16bdfc2 100755 --- a/tests/test_misc.py +++ b/tests/test_misc.py @@ -317,9 +317,11 @@ class TestCaseMisc(PexpectTestCase.PexpectTestCase): " test forced self.__fork_pty() and __pty_make_controlling_tty " # given, class spawn_ourptyfork(pexpect.spawn): - def _spawn(self, command, args=[], preexec_fn=None): + def _spawn(self, command, args=[], preexec_fn=None, + dimensions=None): self.use_native_pty_fork = False - pexpect.spawn._spawn(self, command, args, preexec_fn) + pexpect.spawn._spawn(self, command, args, preexec_fn, + dimensions) # exercise, p = spawn_ourptyfork('cat', echo=False) |