fname
stringlengths
63
176
rel_fname
stringclasses
706 values
line
int64
-1
4.5k
name
stringlengths
1
81
kind
stringclasses
2 values
category
stringclasses
2 values
info
stringlengths
0
77.9k
⌀
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,130
CaptureIO
ref
function
sys.stderr = capture.CaptureIO()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,133
readouterr
ref
function
out, err = cap.readouterr()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,139
test_capturing_error_recursive
def
function
def test_capturing_error_recursive(self) -> None: with self.getcapture() as cap1: print("cap1") with self.getcapture() as cap2: print("cap2") out2, err2 = cap2.readouterr() out1, err1 = cap1.readouterr() assert out1 == "cap1\n" ...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,140
getcapture
ref
function
with self.getcapture() as cap1:
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,142
getcapture
ref
function
with self.getcapture() as cap2:
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,144
readouterr
ref
function
out2, err2 = cap2.readouterr()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,145
readouterr
ref
function
out1, err1 = cap1.readouterr()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,149
test_just_out_capture
def
function
def test_just_out_capture(self) -> None: with self.getcapture(out=_True, err=_False) as cap: sys.stdout.write("hello") sys.stderr.write("world") out, err = cap.readouterr() assert out == "hello" assert not err def test_just_err_capture(self) -> None: ...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,150
getcapture
ref
function
with self.getcapture(out=True, err=False) as cap:
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,153
readouterr
ref
function
out, err = cap.readouterr()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,157
test_just_err_capture
def
function
def test_just_err_capture(self) -> None: with self.getcapture(out=_False, err=_True) as cap: sys.stdout.write("hello") sys.stderr.write("world") out, err = cap.readouterr() assert err == "world" assert not out def test_stdin_restored(self) -> None: ...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,158
getcapture
ref
function
with self.getcapture(out=False, err=True) as cap:
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,161
readouterr
ref
function
out, err = cap.readouterr()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,165
test_stdin_restored
def
function
def test_stdin_restored(self) -> None: old = sys.stdin with self.getcapture(in_=_True): newstdin = sys.stdin assert newstdin != sys.stdin assert sys.stdin is old def test_stdin_nulled_by_default(self) -> None: print("XXX this test may well hang instead of cra...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,167
getcapture
ref
function
with self.getcapture(in_=True):
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,172
test_stdin_nulled_by_default
def
function
def test_stdin_nulled_by_default(self) -> None: print("XXX this test may well hang instead of crashing") print("XXX which indicates an error in the underlying capturing") print("XXX mechanisms") with self.getcapture(): pytest.raises(OSError, sys.stdin.read)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,176
getcapture
ref
function
with self.getcapture():
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,177
raises
ref
function
pytest.raises(OSError, sys.stdin.read)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,180
TestTeeStdCapture
def
class
test_capturing_error_recursive
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,183
test_capturing_error_recursive
def
function
def test_capturing_error_recursive(self) -> None: with self.getcapture() as cap1: print("cap1") with self.getcapture() as cap2: print("cap2") out2, err2 = cap2.readouterr() out1, err1 = cap1.readouterr() assert out1 == "cap1\n" ...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,187
getcapture
ref
function
with self.getcapture() as cap1:
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,189
getcapture
ref
function
with self.getcapture() as cap2:
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,191
readouterr
ref
function
out2, err2 = cap2.readouterr()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,192
readouterr
ref
function
out1, err1 = cap1.readouterr()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,197
TestStdCaptureFD
def
class
test_simple_only_fd test_intermingling test_many
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,200
test_simple_only_fd
def
function
def test_simple_only_fd(self, pytester: Pytester) -> None: pytester.makepyfile( """\ import os def test_x(): os.write(1, b"hello\\n") assert 0 """ ) result = pytester.runpytest_subprocess() result.stdout....
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,201
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,209
runpytest_subprocess
ref
function
result = pytester.runpytest_subprocess()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,210
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,218
test_intermingling
def
function
def test_intermingling(self): with self.getcapture() as cap: os.write(1, b"1") sys.stdout.write(str(2)) sys.stdout.flush() os.write(1, b"3") os.write(2, b"a") sys.stderr.write("b") sys.stderr.flush() os.write(2, ...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,219
getcapture
ref
function
with self.getcapture() as cap:
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,228
readouterr
ref
function
out, err = cap.readouterr()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,232
test_many
def
function
def test_many(self, capfd): with lsof_check(): for i in range(10): cap = StdCaptureFD() cap.start_capturing() cap.stop_capturing()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,233
lsof_check
ref
function
with lsof_check():
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,235
StdCaptureFD
ref
function
cap = StdCaptureFD()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,236
start_capturing
ref
function
cap.start_capturing()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,237
stop_capturing
ref
function
cap.stop_capturing()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,240
TestStdCaptureFDinvalidFD
def
class
test_stdcapture_fd_invalid_fd test_fdcapture_invalid_fd_with_fd_reuse test_fdcapture_invalid_fd_without_fd_reuse
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,241
test_stdcapture_fd_invalid_fd
def
function
def test_stdcapture_fd_invalid_fd(self, pytester: Pytester) -> None: pytester.makepyfile( """ import os from fnmatch import fnmatch from _pytest import capture def StdCaptureFD(out=_True, err=_True, in_=_True): return capture.Multi...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,242
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,280
runpytest_subprocess
ref
function
result = pytester.runpytest_subprocess("--capture=fd")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,282
parseoutcomes
ref
function
assert result.parseoutcomes()["passed"] == 3
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,284
test_fdcapture_invalid_fd_with_fd_reuse
def
function
def test_fdcapture_invalid_fd_with_fd_reuse(self, pytester: Pytester) -> None: with saved_fd(1): os.close(1) cap = capture.FDCaptureBinary(1) cap.start() os.write(1, b"started") cap.suspend() os.write(1, b" suspended") cap.r...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,285
saved_fd
ref
function
with saved_fd(1):
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,287
FDCaptureBinary
ref
function
cap = capture.FDCaptureBinary(1)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,288
start
ref
function
cap.start()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,290
suspend
ref
function
cap.suspend()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,292
resume
ref
function
cap.resume()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,294
snap
ref
function
assert cap.snap() == b"started resumed"
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,295
done
ref
function
cap.done()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,296
raises
ref
function
with pytest.raises(OSError):
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,299
test_fdcapture_invalid_fd_without_fd_reuse
def
function
def test_fdcapture_invalid_fd_without_fd_reuse(self, pytester: Pytester) -> None: with saved_fd(1), saved_fd(2): os.close(1) os.close(2) cap = capture.FDCaptureBinary(2) cap.start() os.write(2, b"started") cap.suspend() os.w...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,300
saved_fd
ref
function
with saved_fd(1), saved_fd(2):
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,300
saved_fd
ref
function
with saved_fd(1), saved_fd(2):
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,303
FDCaptureBinary
ref
function
cap = capture.FDCaptureBinary(2)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,304
start
ref
function
cap.start()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,306
suspend
ref
function
cap.suspend()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,308
resume
ref
function
cap.resume()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,310
snap
ref
function
assert cap.snap() == b"started resumed"
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,311
done
ref
function
cap.done()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,312
raises
ref
function
with pytest.raises(OSError):
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,316
test_capture_not_started_but_reset
def
function
def test_capture_not_started_but_reset() -> None: capsys = StdCapture() capsys.stop_capturing()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,317
StdCapture
ref
function
capsys = StdCapture()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,318
stop_capturing
ref
function
capsys.stop_capturing()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,321
test_using_capsys_fixture_works_with_sys_stdout_encoding
def
function
def test_using_capsys_fixture_works_with_sys_stdout_encoding( capsys: CaptureFixture[str],
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,327
readouterr
ref
function
(out, err) = capsys.readouterr()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,332
test_capsys_results_accessible_by_attribute
def
function
def test_capsys_results_accessible_by_attribute(capsys: CaptureFixture[str]) -> None: sys.stdout.write("spam") sys.stderr.write("eggs") capture_result = capsys.readouterr() assert capture_result.out == "spam" assert capture_result.err == "eggs"
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,335
readouterr
ref
function
capture_result = capsys.readouterr()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,340
test_fdcapture_tmpfile_remains_the_same
def
function
def test_fdcapture_tmpfile_remains_the_same() -> None: cap = StdCaptureFD(out=_False, err=_True) try: cap.start_capturing() capfile = cap.err.tmpfile cap.readouterr() finally: cap.stop_capturing() capfile2 = cap.err.tmpfile assert capfile2 == capfile
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,341
StdCaptureFD
ref
function
cap = StdCaptureFD(out=False, err=True)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,343
start_capturing
ref
function
cap.start_capturing()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,345
readouterr
ref
function
cap.readouterr()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,347
stop_capturing
ref
function
cap.stop_capturing()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,352
test_close_and_capture_again
def
function
def test_close_and_capture_again(pytester: Pytester) -> None: pytester.makepyfile( """ import os def test_close(): os.close(1) def test_capture_again(): os.write(1, b"hello\\n") assert 0 """ ) result = pytester.runpytest_subprocess() ...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,353
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,363
runpytest_subprocess
ref
function
result = pytester.runpytest_subprocess()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,364
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,374
parametrize
ref
function
@pytest.mark.parametrize(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,377
test_capturing_and_logging_fundamentals
def
function
def test_capturing_and_logging_fundamentals(pytester: Pytester, method: str) -> None: # here we check a fundamental feature p = pytester.makepyfile( """ import sys, os import py, logging from _pytest import capture cap = capture.MultiCapture( in_=None, ...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,379
makepyfile
ref
function
p = pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,404
runpython
ref
function
result = pytester.runpython(p)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,405
fnmatch_lines
ref
function
result.stdout.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,411
fnmatch_lines
ref
function
result.stderr.fnmatch_lines(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,419
test_error_attribute_issue555
def
function
def test_error_attribute_issue555(pytester: Pytester) -> None: pytester.makepyfile( """ import sys def test_capattr(): assert sys.stdout.errors == "replace" assert sys.stderr.errors == "replace" """ ) reprec = pytester.inline_run() reprec.assertoutcome...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,420
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,428
inline_run
ref
function
reprec = pytester.inline_run()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,429
assertoutcome
ref
function
reprec.assertoutcome(passed=1)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,432
skipif
ref
function
@pytest.mark.skipif(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,436
test_py36_windowsconsoleio_workaround_non_standard_streams
def
function
def test_py36_windowsconsoleio_workaround_non_standard_streams() -> None: """ Ensure _py36_windowsconsoleio_workaround function works with objects that do not implement the full ``io``-based stream protocol, for example execnet channels (#2666). """ from _pytest.capture import _py36_windowsconsoleio...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,443
DummyStream
def
class
write
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,447
DummyStream
ref
function
stream = cast(TextIO, DummyStream())
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,448
_py36_windowsconsoleio_workaround
ref
function
_py36_windowsconsoleio_workaround(stream)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,451
test_dontreadfrominput_has_encoding
def
function
def test_dontreadfrominput_has_encoding(pytester: Pytester) -> None: pytester.makepyfile( """ import sys def test_capattr(): # should not raise AttributeError assert sys.stdout.encoding assert sys.stderr.encoding """ ) reprec = pytester.inline_...
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,452
makepyfile
ref
function
pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,461
inline_run
ref
function
reprec = pytester.inline_run()
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,462
assertoutcome
ref
function
reprec.assertoutcome(passed=1)
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,465
test_crash_on_closing_tmpfile_py27
def
function
def test_crash_on_closing_tmpfile_py27( pytester: Pytester, monkeypatch: MonkeyPatch
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,468
makepyfile
ref
function
p = pytester.makepyfile(
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,495
setenv
ref
function
monkeypatch.setenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD", "1")
playground/385a4687-3c82-4369-b8de-c1d8c2e759f9/pytest/testing/test_capture.py
testing/test_capture.py
1,496
runpytest_subprocess
ref
function
result = pytester.runpytest_subprocess(str(p))