We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75ca6fa commit ece6b7bCopy full SHA for ece6b7b
test/t/conftest.py
@@ -177,6 +177,8 @@ def bash(request) -> pexpect.spawn:
177
logfile = None
178
if os.environ.get("BASHCOMP_TEST_LOGFILE"):
179
logfile = open(os.environ["BASHCOMP_TEST_LOGFILE"], "w")
180
+ elif os.environ.get("CI"):
181
+ logfile = sys.stdout
182
testdir = os.path.abspath(
183
os.path.join(os.path.dirname(__file__), os.pardir)
184
)
@@ -199,7 +201,7 @@ def bash(request) -> pexpect.spawn:
199
201
bash = pexpect.spawn(
200
202
"%s --norc" % os.environ.get("BASHCOMP_TEST_BASH", "bash"),
203
maxread=os.environ.get("BASHCOMP_TEST_PEXPECT_MAXREAD", 20000),
- logfile=logfile or sys.stdout,
204
+ logfile=logfile,
205
cwd=fixturesdir,
206
env=env,
207
encoding="utf-8", # TODO? or native or...?
0 commit comments