pytest2/src/_pytest
Ran Benita 310b67b227
Drop attrs dependency, use dataclasses instead (#10669)
Since pytest now requires Python>=3.7, we can use the stdlib attrs
clone, dataclasses, instead of the OG package.

attrs is still somewhat nicer than dataclasses and has some extra
functionality, but for pytest usage there's not really a justification
IMO to impose the extra dependency on users when a standard alternative
exists.
2023-01-20 11:13:36 +02:00
..
_code Drop attrs dependency, use dataclasses instead (#10669) 2023-01-20 11:13:36 +02:00
_io Handle NFC/NFD strings that normalize to the same string. (#10355) 2022-10-09 17:09:33 -07:00
_py Use os.sep instead of os.path.sep. 2022-12-01 18:16:02 +01:00
assertion Avoid truncation when truncating means longer output (#10446) 2022-12-17 10:24:46 -03:00
config Drop attrs dependency, use dataclasses instead (#10669) 2023-01-20 11:13:36 +02:00
mark Drop attrs dependency, use dataclasses instead (#10669) 2023-01-20 11:13:36 +02:00
__init__.py Add pytest.version_tuple 2021-06-14 09:04:14 -03:00
_argcomplete.py Use os.sep instead of os.path.sep. 2022-12-01 18:16:02 +01:00
cacheprovider.py Drop attrs dependency, use dataclasses instead (#10669) 2023-01-20 11:13:36 +02:00
capture.py Use an explicit encoding when opening `os.devnul` 2022-09-30 23:43:27 +01:00
compat.py Drop attrs dependency, use dataclasses instead (#10669) 2023-01-20 11:13:36 +02:00
debugging.py Don't break into `pdb` for `raise unittest.SkipTest()` 2022-10-13 18:20:46 -04:00
deprecated.py Add deprecations for tests written for `nose` (#9907) 2022-10-09 17:16:33 -03:00
doctest.py Export `pytest.DoctestItem` for typing / runtime purposes (#10313) 2022-10-07 13:03:42 -03:00
faulthandler.py Document the --code-highlight default (#9883) 2022-05-31 16:32:51 -03:00
fixtures.py Drop attrs dependency, use dataclasses instead (#10669) 2023-01-20 11:13:36 +02:00
freeze_support.py Remove py version printing, traceback filtering, freezing 2021-10-16 12:01:31 +03:00
helpconfig.py Document the --code-highlight default (#9883) 2022-05-31 16:32:51 -03:00
hookspec.py Fix typing errors after mypy update 2022-11-15 08:53:23 -03:00
junitxml.py Mitigate directory creation race condition (#10607) 2023-01-06 09:12:24 -03:00
legacypath.py Drop attrs dependency, use dataclasses instead (#10669) 2023-01-20 11:13:36 +02:00
logging.py Add --log-disable CLI option (#10371) 2022-10-23 18:23:34 -03:00
main.py Drop attrs dependency, use dataclasses instead (#10669) 2023-01-20 11:13:36 +02:00
monkeypatch.py Add reference to the Where to patch docs in monkeypatch.setattr (#10217) 2022-08-15 13:55:19 -03:00
nodes.py doc: have tighter control on what autodoc shows 2022-08-13 21:46:49 +03:00
nose.py Add deprecations for tests written for `nose` (#9907) 2022-10-09 17:16:33 -03:00
outcomes.py doc: have tighter control on what autodoc shows 2022-08-13 21:46:49 +03:00
pastebin.py Document the --code-highlight default (#9883) 2022-05-31 16:32:51 -03:00
pathlib.py Use os.sep instead of os.path.sep. 2022-12-01 18:16:02 +01:00
py.typed Publish our types 2020-07-04 13:18:15 +03:00
pytester.py doc: have tighter control on what autodoc shows 2022-08-13 21:46:49 +03:00
pytester_assertions.py Make 'warnings' and 'deselected' in assert_outcomes optional (#9475) 2022-01-27 12:18:36 +01:00
python.py Drop attrs dependency, use dataclasses instead (#10669) 2023-01-20 11:13:36 +02:00
python_api.py Derive pytest.raises from AbstractContextManager 2023-01-13 13:58:49 -05:00
python_path.py Rename ``pythonpath`` plugin to ``python_path`` 2022-02-09 10:03:20 +02:00
recwarn.py Merge pull request #10318 from pytest-dev/pre-commit-ci-update-config 2022-10-07 20:04:48 -03:00
reports.py Drop attrs dependency, use dataclasses instead (#10669) 2023-01-20 11:13:36 +02:00
runner.py Drop attrs dependency, use dataclasses instead (#10669) 2023-01-20 11:13:36 +02:00
scope.py Deprecation of `msg=` for both `pytest.skip()` and `pytest.fail()`. (#8950) 2021-11-08 15:31:14 +01:00
setuponly.py Document the --code-highlight default (#9883) 2022-05-31 16:32:51 -03:00
setupplan.py Document the --code-highlight default (#9883) 2022-05-31 16:32:51 -03:00
skipping.py Drop attrs dependency, use dataclasses instead (#10669) 2023-01-20 11:13:36 +02:00
stash.py stash: make Stash and StashKey public 2021-07-24 17:40:08 +03:00
stepwise.py Do not update cache from xdist worker (#10641) 2023-01-13 07:14:52 -03:00
terminal.py Drop attrs dependency, use dataclasses instead (#10669) 2023-01-20 11:13:36 +02:00
threadexception.py Replaced if-else statements with ternary expression (#8658) 2021-05-11 11:52:55 +02:00
timing.py fix mock_timing fixture name (typo) in timing.py 2020-11-23 20:45:12 +00:00
tmpdir.py Drop attrs dependency, use dataclasses instead (#10669) 2023-01-20 11:13:36 +02:00
unittest.py Do not call tearDown for skipped unittest.TestCases with --pdb 2022-06-27 10:33:37 -03:00
unraisableexception.py Add unraisableexception and threadexception plugins 2020-11-21 21:11:48 +02:00
warning_types.py Drop attrs dependency, use dataclasses instead (#10669) 2023-01-20 11:13:36 +02:00
warnings.py Expand warnings output for ResourceWarning (#9682) 2022-02-15 13:00:50 +00:00