diff options
author | Scott Talbert <swt@techie.net> | 2023-02-13 09:09:09 -0500 |
---|---|---|
committer | Scott Talbert <swt@techie.net> | 2023-02-13 09:09:09 -0500 |
commit | 5d79950c6ab7ef14a704aba89a2a48f411e5f62a (patch) | |
tree | 71ffb4c572c86e75845c4478cf17a78ac73d4339 | |
parent | af88104d1a1e2b7c470f5ea74a6000995476e36a (diff) | |
download | pexpect-5d79950c6ab7ef14a704aba89a2a48f411e5f62a.tar.gz |
test_interact: update Travis overrides to use generic CI variable
These tests have the same issues on GitHub Actions, so switch to use the
more generic 'CI' variable to detect when being run on a CI platform to
handle these tests properly.
-rwxr-xr-x | tests/test_interact.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_interact.py b/tests/test_interact.py index 4afbd18..d18fc30 100755 --- a/tests/test_interact.py +++ b/tests/test_interact.py @@ -62,8 +62,8 @@ class InteractTestCase (PexpectTestCase.PexpectTestCase): p.sendcontrol(']') p.expect('29<STOP>') p.send('\x00') - if not os.environ.get('TRAVIS', None): - # on Travis-CI, we sometimes miss trailing stdout from the + if not os.environ.get('CI', None): + # on CI platforms, we sometimes miss trailing stdout from the # chain of child processes, not entirely sure why. So this # is skipped on such systems. p.expect('0<STOP>') @@ -84,8 +84,8 @@ class InteractTestCase (PexpectTestCase.PexpectTestCase): p.expect('206<STOP>') # [206, 146] p.expect('146<STOP>') p.send('\x00') - if not os.environ.get('TRAVIS', None): - # on Travis-CI, we sometimes miss trailing stdout from the + if not os.environ.get('CI', None): + # on CI platforms, we sometimes miss trailing stdout from the # chain of child processes, not entirely sure why. So this # is skipped on such systems. p.expect('0<STOP>') |