test_ok2/testing
Ran Benita dd5c2b22bd Refactor Session._initialparts to have a more explicit type
Previously, _initialparts was a list whose first item was a
`py.path.local` and the rest were `str`s. This is not something that
mypy is capable of modeling. The type `List[Union[str, py.path.local]]`
is too broad and would require asserts for every access.

Instead, make each item a `Tuple[py.path.local, List[str]]`. This way
the structure is clear and the types are accurate.

To make sure any users who might have been accessing this (private)
field will not break silently, change the name to _initial_parts.
2020-01-25 13:57:49 +02:00
..
code Add a few missing type annotations in _pytest._code 2020-01-19 19:39:14 +02:00
example_scripts Validate xunit2 files against the schema 2019-08-09 10:55:06 -03: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 py38: do not call None() directly 2019-11-06 22:08:10 +01:00
logging tests: cleanup unused fixtures 2020-01-16 21:12:48 +01:00
python Merge remote-tracking branch 'upstream/master' into mm 2020-01-22 11:03:45 -03:00
acceptance_test.py Merge remote-tracking branch 'upstream/master' into mm 2020-01-22 11:03:45 -03:00
conftest.py tests: cleanup unused fixtures 2020-01-16 21:12:48 +01:00
deprecated_test.py Deprecate --no-print-logs option 2019-12-14 16:46:30 -08:00
test_argcomplete.py pre-commit run pyupgrade --all-files 2019-06-03 12:08:02 -03:00
test_assertion.py tests: cleanup unused fixtures 2020-01-16 21:12:48 +01:00
test_assertrewrite.py Import Path from _pytest.pathlib for py35 2019-11-15 22:19:53 +01:00
test_cacheprovider.py Merge remote-tracking branch 'upstream/master' into mm 2020-01-22 11:03:45 -03:00
test_capture.py Merge remote-tracking branch 'upstream/master' into mm 2020-01-22 11:03:45 -03:00
test_collection.py Refactor Session._initialparts to have a more explicit type 2020-01-25 13:57:49 +02:00
test_compat.py tests: cover safe_getattr 2020-01-15 11:20:00 +01:00
test_config.py Fix test_config: wrong assertions, lint, unused fixtures 2020-01-16 19:27:46 +01:00
test_conftest.py tests: cleanup unused fixtures 2020-01-16 21:12:48 +01:00
test_debugging.py Merge remote-tracking branch 'upstream/master' into mm 2020-01-22 11:03:45 -03:00
test_doctest.py Fix line detection for properties in doctest tests 2019-11-22 23:50:20 +03:00
test_entry_points.py Replace importlib_metadata with importlib.metadata on Python 3.8+ 2019-07-04 15:00:10 +02:00
test_faulthandler.py tests: cleanup unused fixtures 2020-01-16 21:12:48 +01:00
test_helpconfig.py tests: cleanup unused fixtures 2020-01-16 21:12:48 +01:00
test_junitxml.py Update junit_logging with no,log,system-out,system-err,out-err,all 2020-01-16 08:14:46 +01:00
test_main.py main: wrap_session: handle exit.Exception with notify_exception 2019-11-21 22:50:33 +01:00
test_mark.py Merge remote-tracking branch 'upstream/master' into mm 2020-01-22 11:03:45 -03:00
test_meta.py tests: mark test_meta as slow 2019-10-22 23:44:52 +02:00
test_modimport.py pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
test_monkeypatch.py pre-commit run pyupgrade --all-files 2019-06-03 12:08:02 -03:00
test_nodes.py pre-commit run fix-encoding-pragma --all-files 2019-06-03 12:08:01 -03:00
test_nose.py Revert "Fix type errors after adding types to the `py` dependency" 2020-01-20 23:44:56 +02:00
test_parseopt.py Merge remote-tracking branch 'upstream/master' into mm 2020-01-22 11:03:45 -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 Merge remote-tracking branch 'upstream/master' into mm 2020-01-22 11:03:45 -03:00
test_pytester.py Merge master into features 2020-01-22 19:18:13 +01:00
test_recwarn.py Fix type of pytest.warns, and fix check_untyped_defs in test_recwarn 2020-01-19 19:39:14 +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 Replace py.io.TextIO with io.StringIO 2019-10-26 16:33:57 +03:00
test_runner.py tests: use NotImplementedError with uncovered code 2020-01-22 15:38:12 +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 saferepr: handle BaseExceptions 2019-11-06 22:08:10 +01:00
test_setuponly.py Merge master into features 2019-10-21 00:08:03 +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_terminal.py Merge remote-tracking branch 'upstream/master' into mm 2020-01-22 11:03:45 -03: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 Merge branch 'features' into unittest-debug 2019-12-03 10:52:53 -03: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 Merge remote-tracking branch 'upstream/master' into mm 2019-12-03 11:07:34 -03:00