test_ok1/testing
Ran Benita 6954b3b0dc Assume os.dup is always available
The commit which added the checks for os.dup a15afb5e48
suggests it was done for Jython. But pytest doesn't support Jython
anymore (Jython is Python 2 only).

Furthermore, it looks like the faulthandler plugin (bundled in pytest
and enabled by default) uses os.dup() unprotected and there have not
been any complaints.

So seems better to just remove these checks, and only add if someone
with a legitimate use case complains.
2020-03-12 16:47:15 +02:00
..
code Improve doc/typing/message for `ExceptionInfo.match` (#6776) 2020-02-21 16:41:57 +01:00
example_scripts summarize warning summaries if the number of locations is high 2020-03-01 14:08:15 +01:00
examples pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
freeze Replace a few outdated references to py.test with pytest 2019-10-26 16:28:17 +03:00
io _pformat_dispatch: pass through args (#6715) 2020-02-12 16:07:57 +01:00
logging tests: test_collection_collect_only_live_logging: allow for 1s 2020-01-25 18:14:49 +01:00
python Handle `match` with `pytest.raises()` (#6753) 2020-02-22 23:32:55 +01:00
acceptance_test.py fix #571: deprecate pytest_collect_directory as ... (#6847) 2020-03-03 18:58:14 -03:00
conftest.py Use code highlighting if pygments is installed (#6658) 2020-02-12 08:32:37 -03:00
deprecated_test.py Deprecate TerminalReporter.writer 2020-02-20 21:04:49 -03:00
test_argcomplete.py pre-commit run pyupgrade --all-files 2019-06-03 12:08:02 -03:00
test_assertion.py tests: harden test_reprcompare_notin, factor out callop (#6764) 2020-03-08 01:23:19 +01:00
test_assertrewrite.py Merge pull request #6673 from sscherfke/features 2020-02-12 15:05:38 -03:00
test_cacheprovider.py LFPlugin: use sub-plugins to deselect during collection (#6448) 2020-02-19 21:33:03 +01:00
test_capture.py Assume os.dup is always available 2020-03-12 16:47:15 +02:00
test_collection.py fix #571: deprecate pytest_collect_directory as ... (#6847) 2020-03-03 18:58:14 -03:00
test_compat.py tests: cover safe_getattr 2020-01-15 11:20:00 +01:00
test_config.py pre-commit run --all-files 2020-03-07 23:47:55 +01:00
test_conftest.py Move ExitCode's definition from _pytest.main to _pytest.config 2020-02-10 23:55:06 +02:00
test_debugging.py Merge remote-tracking branch 'upstream/master' into mm 2020-01-22 11:03:45 -03:00
test_doctest.py doctest: strip newlines with unexpected exceptions (#6801) 2020-02-24 15:18:08 +01:00
test_entry_points.py Replace importlib_metadata with importlib.metadata on Python 3.8+ 2019-07-04 15:00:10 +02:00
test_error_diffs.py Reverse / fix meaning of "+/-" in error diffs 2020-02-10 21:12:37 +01:00
test_faulthandler.py tests: fix flaky test_timeout (#6773) 2020-02-21 12:52:31 +01:00
test_helpconfig.py Merge remote-tracking branch 'upstream/master' into mm 2020-02-11 19:22:28 -03:00
test_junitxml.py Add a typing-compatible mechanism for ad-hoc attributes on various objects 2020-02-28 14:34:44 +02:00
test_main.py Merge remote-tracking branch 'upstream/master' into mm 2020-02-11 19:22:28 -03:00
test_mark.py Move ExitCode's definition from _pytest.main to _pytest.config 2020-02-10 23:55:06 +02:00
test_meta.py Keep (revisited) comment from https://github.com/pytest-dev/pytest/commit/4d31ea831 2020-02-03 14:04:16 +01:00
test_monkeypatch.py pre-commit run pyupgrade --all-files 2019-06-03 12:08:02 -03:00
test_nodes.py fix #6341 - disallow session/config in Node.from_parent 2020-01-15 13:00:46 +01:00
test_nose.py Node.location: handle str with _node_location_to_relpath 2020-01-23 10:45:31 +01:00
test_parseopt.py Merge remote-tracking branch 'upstream/master' into mm 2020-02-11 19:22:28 -03:00
test_pastebin.py Fix "lexer" being used when uploading to bpaste.net 2019-08-30 15:34:03 -04:00
test_pathlib.py Switch from deprecated imp to importlib 2019-06-24 09:48:38 -07:00
test_pluginmanager.py Move ExitCode's definition from _pytest.main to _pytest.config 2020-02-10 23:55:06 +02:00
test_pytester.py Fix usage of pytester with doctests (#6802) 2020-03-04 05:33:50 +01:00
test_recwarn.py Use a hack to make typing of pytest.fail.Exception & co work 2020-02-18 23:17:27 +02:00
test_reports.py Use a dummy RemoteTraceback for test in Python 3.5 Windows 2020-01-16 20:03:16 +01:00
test_resultlog.py Add a typing-compatible mechanism for ad-hoc attributes on various objects 2020-02-28 14:34:44 +02:00
test_runner.py tests: runner: improve/ignore coverage (#6781) 2020-02-21 14:37:56 +01:00
test_runner_xunit.py Fix plurality mismatch for and in pytest terminal summary 2019-10-27 15:16:24 +00:00
test_session.py Simplify test_rootdir_wrong_option_arg (#6812) 2020-02-28 18:38:07 +01:00
test_setuponly.py Move ExitCode's definition from _pytest.main to _pytest.config 2020-02-10 23:55:06 +02:00
test_setupplan.py Merge remote-tracking branch 'upstream/master' into release-5.3.0 2019-11-19 12:42:11 -03:00
test_skipping.py re-run black 2019-11-16 18:55:32 +01:00
test_stepwise.py tests: test_xfail_handling: use sys.dont_write_bytecode 2020-01-11 23:05:12 +01:00
test_store.py Add setdefault() method to Store 2020-03-06 11:42:20 +02:00
test_terminal.py tests: harden/improve test_itemreport_subclasses_show_subclassed_file (#6467) 2020-02-21 15:24:12 +01:00
test_tmpdir.py fix #5686, mktemp now fails given absolute and non-normalized paths. 2019-12-12 13:00:23 +01:00
test_unittest.py Move ExitCode's definition from _pytest.main to _pytest.config 2020-02-10 23:55:06 +02:00
test_warning_types.py Make pytest warnings show as from 'pytest' module instead of '_pytest.warning_types' 2019-06-15 11:48:34 -03:00
test_warnings.py summarize warning summaries if the number of locations is high 2020-03-01 14:08:15 +01:00