summaryrefslogtreecommitdiff
path: root/testing/test_capture.py
AgeCommit message (Collapse)Author
2019-11-16Remove a PyPy version check for an unsupported versionRan Benita
pytest doesn't support these PyPy versions anymore, so no need to have checks for them.
2019-11-06Merge pull request #6103 from blueyed/lsof_checkDaniel Hahler
tests: lsof_check: include exc with skip message
2019-11-06Merge pull request #6084 from blueyed/merge-rmDaniel Hahler
tests: merge/remove test_dontreadfrominput_buffer_python3
2019-11-02Merge pull request #6067 from blueyed/harden-testDaniel Hahler
tests: harden test_disabled_capture_fixture
2019-10-29lsof_check: include exc with skip messageDaniel Hahler
2019-10-28Merge pull request #5990 from MarcoGorelli/plurality-matchingDaniel Hahler
Plurality matching
2019-10-28tests: fix testing/test_capture.py::test_typeerror_encodedfile_writeDaniel Hahler
Failed for me due to different indent (?) - not reproducible: > ??? E Failed: nomatch: 'E TypeError: write() argument must be str, not bytes' … E and: '> def mode(self):' E and: 'E TypeError: write() argument must be str, not bytes' … E remains unmatched: 'E TypeError: write() argument must be str, not bytes'
2019-10-27tests: merge/remove test_dontreadfrominput_buffer_python3Daniel Hahler
2019-10-27Fix plurality mismatch for and in pytest terminal summaryMarcoGorelli
2019-10-27tests: harden test_disabled_capture_fixtureDaniel Hahler
2019-10-27Merge master into featuresDaniel Hahler
Conflicts: src/_pytest/logging.py
2019-10-26Replace py.io.TextIO with io.StringIORan Benita
In Python3, py.io.TextIO is just an alias to io.StringIO. Remove the indirection.
2019-10-23Fix check_untyped_defs errors in captureRan Benita
2019-10-06Use new no-match functions to replace previous idiomBruno Oliveira
2019-06-25Merge remote-tracking branch 'upstream/features' into merge-features-into-masterBruno Oliveira
2019-06-25 Do not allow abbreviated argumentsZac Hatfield-Dodds
2019-06-15initial conversion of exit codes to enumRonny Pfannschmidt
2019-06-04Clean up u' prefixes and py2 bytes conversionsAnthony Sottile
2019-06-03Clean up __future__ and coding: in testsAnthony Sottile
2019-06-03pre-commit run pyupgrade --all-filesAnthony Sottile
2019-06-03pre-commit run reorder-python-imports --all-filesAnthony Sottile
2019-06-03pre-commit run fix-encoding-pragma --all-filesAnthony Sottile
2019-06-02Drop Python 2.7 and 3.4 supportBruno Oliveira
* Update setup.py requires and classifiers * Drop Python 2.7 and 3.4 from CI * Update docs dropping 2.7 and 3.4 support * Fix mock imports and remove tests related to pypi's mock module * Add py27 and 34 support docs to the sidebar * Remove usage of six from tmpdir * Remove six.PY* code blocks * Remove sys.version_info related code * Cleanup compat * Remove obsolete safe_str * Remove obsolete __unicode__ methods * Remove compat.PY35 and compat.PY36: not really needed anymore * Remove unused UNICODE_TYPES * Remove Jython specific code * Remove some Python 2 references from docs Related to #5275
2019-05-23Fix invalid Python file encoding "utf8" (#5252)Bruno Oliveira
Fix invalid Python file encoding "utf8"
2019-05-14Use fix-encoding-pragma pre-commit hookAnthony Sottile
2019-05-14Normalize all source encoding declarationsBruno Oliveira
2019-05-14Remove 'b' from sys.stdout.modeAnthony Sottile
2019-05-12Fix invalid Python file encoding "utf8"Raul Tambre
Since Python 3 it must be "utf-8", which is the official name. This is backwards compatible with Python 2.
2019-05-09Remove the 'issue' marker from test suiteBruno Oliveira
It doesn't seem to add much value (why would one execute tests based on that marker?), plus using the docstring for that encourages one to write a more descriptive message about the test
2019-04-19capture: track current state in _state attributesDaniel Hahler
This is meant for debugging, and making assertions later.
2019-04-10Fix test_error_during_readouterr: syspathinsert is unusedDaniel Hahler
2019-03-31Register "issue" mark for self-testsZac-HD
2019-03-26Merge master into featuresDaniel Hahler
2019-03-23test_collect_capturing: cover captured stderrDaniel Hahler
2019-03-23tests: fnmatch_lines: use listDaniel Hahler
For strings fnmatch_lines converts it into a Source objects, splitted on newlines. This is not necessary here, and it is more consistent to use lists here in the first place.
2019-03-20Merge pull request #4950 from blueyed/captureDaniel Hahler
Revisit capturing module: repr, doc fixes, minor
2019-03-19Revisit _pytest.capture: repr, doc fixes, minorDaniel Hahler
2019-03-18capture: fix FDCapture.__repr__ without targetfd_saveDaniel Hahler
2019-03-04tests: make test_crash_on_closing_tmpfile_py27 more reliableDaniel Hahler
It fails reliable for me now without the fix from 9517c3a2a. Ref: #2370
2019-03-01Validate type with writing to captured output like withoutDaniel Hahler
Fixes https://github.com/pytest-dev/pytest/issues/4861.
2019-01-22Remove stdlib testThomas Hisch
2019-01-21remove and ban py.io.BytesIO, py.process, py.path.local.sysfindAnthony Sottile
2018-12-10Merge master into featuresDaniel Hahler
2018-12-03Black suggestionsPedro Algarvio
2018-12-03Test case for #4500 bug and respective fix #4487Pedro Algarvio
2018-12-03Stop using the deprecated `\.warn()` log handler methodPedro Algarvio
2018-11-29Deprecate `raises(..., 'code(as_a_string)')` / `warns(..., 'code(as_a_string)')Anthony Sottile
2018-11-22Fix formatting of print() callsAnthony Sottile
2018-11-04Merge pull request #4305 from RonnyPfannschmidt/cleanup-tobytesAnthony Sottile
replace byte/unicode helpers in test_capture with python level syntax
2018-11-04replace byte/unicode helpers in test_capture with python level syntaxRonny Pfannschmidt