summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRed_M <1468433+Red-M@users.noreply.github.com>2023-02-14 19:04:44 +1000
committerGitHub <noreply@github.com>2023-02-14 19:04:44 +1000
commit460f1e1b94b26c34011fc43a11546612f971fdb9 (patch)
tree71ffb4c572c86e75845c4478cf17a78ac73d4339
parentaf88104d1a1e2b7c470f5ea74a6000995476e36a (diff)
parent5d79950c6ab7ef14a704aba89a2a48f411e5f62a (diff)
downloadpexpect-460f1e1b94b26c34011fc43a11546612f971fdb9.tar.gz
Merge pull request #743 from swt2c/travis_to_ci
test_interact: update Travis overrides to use generic CI variable
-rwxr-xr-xtests/test_interact.py8
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>')