GitHub / pytest-dev/pytest / commits
The pytest framework makes it easy to write small tests, yet scales to support complex functional testing
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| 6a30f9e5 | merge Merge pull request #14932 from pytest-dev/pre-commit-ci-update-config |
Ronny Pfannschmidt <o****e@r****e>
Committed by: GitHub <n****y@g****m> |
3 days ago | |
| b0de7356 |
fix: raise on any nested container in approx, not only same-type (#14934)
Co-authored-by: Onkesh Bansal <o****2@g****m>, Claude Opus 5 <n****y@a****m> |
Onkesh Bansal <o****h@g****m>
Committed by: GitHub <n****y@g****m> |
3 days ago | |
| 75e6815c | merge Merge pull request #14649 from EternalRights/fix-exceptiongroup-tracebackhide |
Ronny Pfannschmidt <o****e@r****e>
Committed by: GitHub <n****y@g****m> |
3 days ago | |
| d7f61905 | merge Merge pull request #14755 from seifertm/yield_fixture_removal |
Ronny Pfannschmidt <o****e@r****e>
Committed by: GitHub <n****y@g****m> |
3 days ago | |
| 97757538 | merge Merge pull request #14811 from EternalRights/fix-config-getini-string-validation |
Ronny Pfannschmidt <o****e@r****e>
Committed by: GitHub <n****y@g****m> |
3 days ago | |
| e4f43e79 | [pre-commit.ci] pre-commit autoupdate |
pre-commit-ci[bot] <6****]@u****m>
Committed by: Ronny Pfannschmidt <o****e@r****e> |
4 days ago | |
| c99f595a |
build(deps): Bump pytest-rerunfailures in /testing/plugins_integration (#14929)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
4 days ago | |
| cfe321c4 |
build(deps): Bump pytest-django in /testing/plugins_integration (#14930)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
4 days ago | |
| 060c8518 | merge Merge pull request #14838 from Bortlesboat/agent/13369-pytester-summary-error |
Ronny Pfannschmidt <o****e@r****e>
Committed by: GitHub <n****y@g****m> |
5 days ago | |
| df87db7b | merge Merge pull request #14813 from RonnyPfannschmidt/ronny/assert-rewrite-coverag... |
Ronny Pfannschmidt <o****e@r****e>
Committed by: GitHub <n****y@g****m> |
8 days ago | |
| d724e161 | merge Merge pull request #14774 from The-Compiler/deprecate-class-fixt-higher-scope |
Ran Benita <r****n@u****m>
Committed by: GitHub <n****y@g****m> |
8 days ago | |
| efa117ad | merge [ruff] Apply unsafe autofixes from ruff 0.16 (#14913) |
Pierre Sassoulas <p****s@g****m>
Committed by: GitHub <n****y@g****m> |
9 days ago | |
| bc143c9f |
[refactor] Read the 'linelist' parsing as a single comprehension
Co-authored-by: Claude Opus 5 (1M context) <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | 9 days ago | |
| d89ac92e | merge Merge pull request #14897 from Pierre-Sassoulas/ruff-safe-autofixes |
Pierre Sassoulas <p****s@g****m>
Committed by: GitHub <n****y@g****m> |
9 days ago | |
| e9eb967e | merge Merge pull request #14905 from RonnyPfannschmidt/pr11418-checked-hash-pyc |
Ronny Pfannschmidt <o****e@r****e>
Committed by: GitHub <n****y@g****m> |
9 days ago | |
| e16499d2 | [refactor] Drop an unreachable 'setUpClass' / 'tearDownClass' guard in 'UnitT... |
Pierre Sassoulas <p****s@g****m>
Committed by: GitHub <n****y@g****m> |
9 days ago | |
| cd1a87a9 | assertion/rewrite: always use checked-hash pyc invalidation | Ronny Pfannschmidt <o****e@r****e> | 10 days ago | |
| c0ab40c9 | merge Merge pull request #14903 from RonnyPfannschmidt/fix-10745-cheaper-recursion-... |
Ronny Pfannschmidt <o****e@r****e>
Committed by: GitHub <n****y@g****m> |
10 days ago | |
| 7eee10c8 |
Truncate recursive tracebacks when the origin cannot be located
Co-authored-by: Claude Opus 5 (1M context) <n****y@a****m> |
Ronny Pfannschmidt <o****e@r****e> | 10 days ago | |
| 12251240 |
Memoize the statement line numbers of a parsed module
Co-authored-by: Claude Opus 5 (1M context) <n****y@a****m> |
Ronny Pfannschmidt <o****e@r****e> | 10 days ago | |
| d6f66d42 | merge Merge pull request #14865 from RonnyPfannschmidt/fix-14864-samefile-zero-file-id |
Ronny Pfannschmidt <o****e@r****e>
Committed by: GitHub <n****y@g****m> |
10 days ago | |
| 2a9e201e | merge Merge pull request #14884 from RonnyPfannschmidt/cache-key-containment |
Ronny Pfannschmidt <o****e@r****e>
Committed by: GitHub <n****y@g****m> |
10 days ago | |
| 1ae99acb | merge Merge pull request #14898 from pytest-dev/pre-commit-ci-update-config |
Pierre Sassoulas <p****s@g****m>
Committed by: GitHub <n****y@g****m> |
10 days ago | |
| 7f4ddd8b | [pre-commit.ci] pre-commit autoupdate |
pre-commit-ci[bot] <6****]@u****m>
Committed by: GitHub <n****y@g****m> |
11 days ago | |
| 6c8ea15e | merge Merge pull request #14895 from Pierre-Sassoulas/ruff-enable-rules-that-alread... |
Pierre Sassoulas <p****s@g****m>
Committed by: GitHub <n****y@g****m> |
11 days ago | |
| f0b1c4e2 |
[ruff] Enable SIM905 (split a static string)
Co-authored-by: Claude Opus 5 (1M context) <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | 11 days ago | |
| 5882c162 |
[ruff] Enable FURB188 (use 'str.removeprefix()'/'removesuffix()')
Co-authored-by: Claude Opus 5 (1M context) <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | 11 days ago | |
| b277fa42 |
[ruff] Enable SIM118 ('key in dict' instead of 'key in dict.keys()')
Co-authored-by: Claude Opus 5 (1M context) <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | 11 days ago | |
| 83b504cc |
[ruff] Enable FURB157 (verbose 'Decimal' constructor)
Co-authored-by: Claude Opus 5 (1M context) <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | 11 days ago | |
| 04f8f0b1 |
[ruff] Enable TC005 (empty type-checking block)
Co-authored-by: Claude Opus 5 (1M context) <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | 11 days ago | |
| 535a431f |
[ruff] Enable RET501 (unnecessary explicit 'return None')
Co-authored-by: Claude Opus 5 (1M context) <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | 11 days ago | |
| 9254e977 |
[ruff] Enable C417 (unnecessary 'map()' usage)
Co-authored-by: Claude Opus 5 (1M context) <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | 11 days ago | |
| a1f850cf |
[ruff] Enable SIM210 (unnecessary 'True if ... else False')
Co-authored-by: Claude Opus 5 (1M context) <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | 11 days ago | |
| f802aa11 |
[ruff] Enable PERF102 (incorrect dict iterator)
Co-authored-by: Claude Opus 5 (1M context) <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | 11 days ago | |
| 88bb4caf |
[ruff] Enable C414 (unnecessary double cast or process)
Co-authored-by: Claude Opus 5 (1M context) <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | 11 days ago | |
| aea00999 |
[ruff] Enable C410 (unnecessary list literal passed to 'list()')
Co-authored-by: Claude Opus 5 (1M context) <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | 11 days ago | |
| d0be8bd0 |
[ruff] Enable C400 (unnecessary generator)
Co-authored-by: Claude Opus 5 (1M context) <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | 11 days ago | |
| 2aa490d5 |
[ruff] Enable the rule families that already pass
Co-authored-by: Claude Opus 5 (1M context) <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | 11 days ago | |
| 7ad80ed9 |
[ruff] Inherit ruff's default rule set with all new rules disabled
Co-authored-by: Claude Opus 5 (1M context) <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | 11 days ago | |
| 8f84744c |
build(deps): Bump pytest-django in /testing/plugins_integration (#14893)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
11 days ago | |
| 4e8d5503 |
build(deps): Bump django in /testing/plugins_integration (#14894)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
11 days ago | |
| e739014f |
Fix duplicated exception chain output when an exception group has a cause (#1...
Co-authored-by: Claude <n****y@a****m>, Claude <n****y@a****m>, Claude <n****y@a****m> |
Dane Parin <e****0@g****m>
Committed by: GitHub <n****y@g****m> |
12 days ago | |
| 604e2d03 | merge Merge pull request #14887 from pytest-dev/update-plugin-list/patch-fa7ccb176 |
Ran Benita <r****n@u****m>
Committed by: GitHub <n****y@g****m> |
12 days ago | |
| aa4c208f | merge Merge pull request #14875 from royy92/fix-6997 |
Ronny Pfannschmidt <o****e@r****e>
Committed by: GitHub <n****y@g****m> |
12 days ago | |
| 1c6bdabb | [automated] Update plugin list |
pytest bot <p****t@u****m>
Committed by: github-actions[bot] <4****]@u****m> |
12 days ago | |
| fa7ccb17 |
[refactor] Start using match case in 'assertrepr_compare' (#13762)
Co-authored-by: Claude Opus 5 (1M context) <n****y@a****m> |
Pierre Sassoulas <p****s@g****m>
Committed by: GitHub <n****y@g****m> |
13 days ago | |
| 0d582dd0 |
cache: keep cache keys within the cache directory
Co-authored-by: Claude Opus 5 (1M context) <n****y@a****m> |
Ronny Pfannschmidt <o****e@r****e> | 14 days ago | |
| f31caab7 |
fix(terminal): show teardown phase for xfail reports
Co-authored-by: ChatGPT <n****y@o****m> |
roqia salah <r****7@g****m> | 15 days ago | |
| 68308aa2 | merge Merge pull request #14845 from Shriprasad-P/docs/14834-endorse-pytest-skip-slow |
Ronny Pfannschmidt <o****e@r****e>
Committed by: GitHub <n****y@g****m> |
16 days ago | |
| d45fc1c7 | merge Merge pull request #14780 from ace2016/fix-9436-xfail-traceback |
Ronny Pfannschmidt <o****e@r****e>
Committed by: GitHub <n****y@g****m> |
16 days ago | |
| b9353807 | merge Merge pull request #14833 from ace2016/fix-13354-marker-default |
Ronny Pfannschmidt <o****e@r****e>
Committed by: GitHub <n****y@g****m> |
16 days ago | |
| 9421df77 | merge Merge pull request #14687 from henryiii/capture-snap-fastpath |
Ronny Pfannschmidt <o****e@r****e>
Committed by: GitHub <n****y@g****m> |
16 days ago | |
| 4da7c191 |
pathlib: don't trust a zero Windows file ID in samefile_nofollow
Co-authored-by: Claude Opus 5 (1M context) <n****y@a****m> |
Ronny Pfannschmidt <o****e@r****e> | 16 days ago | |
| 5fd2be03 | merge Merge pull request #14127 from RonnyPfannschmidt/fix-2781-strict-markers-m-ex... |
Ronny Pfannschmidt <o****e@r****e>
Committed by: GitHub <n****y@g****m> |
16 days ago | |
| 0d6fbdef |
Fix duplicated exception chain output for exceptions without a traceback (#14...
Co-authored-by: Claude <n****y@a****m>, Claude <n****y@a****m>, Claude <n****y@a****m> |
Dane Parin <e****0@g****m>
Committed by: GitHub <n****y@g****m> |
17 days ago | |
| a3a62a0e |
[pre-commit.ci] pre-commit autoupdate (#14851)
Co-authored-by: pre-commit-ci[bot] <6****]@u****m> |
pre-commit-ci[bot] <6****]@u****m>
Committed by: GitHub <n****y@g****m> |
17 days ago | |
| 8c204fa4 | test(rewrite): systematic coverage matrix for assertion rewriting | Ronny Pfannschmidt <o****e@r****e> | 18 days ago | |
| 3c474975 |
refactor: reuse Config._iter_registered_markers in -m validation
Co-authored-by: Claude Opus 5 (1M context) <n****y@a****m> |
Ronny Pfannschmidt <o****e@r****e> | 18 days ago | |
| ecade5a6 |
build(deps): Bump hynek/build-and-inspect-python-package (#14848)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
18 days ago | |
| cb957123 |
build(deps): Bump pypa/gh-action-pypi-publish from 1.14.1 to 1.14.2 (#14849)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
18 days ago | |
| 006884ba |
[automated] Update plugin list (#14842)
Co-authored-by: pytest bot <p****t@u****m> |
github-actions[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
19 days ago | |
| ccb43888 |
docs: add changelog for pytest-skip-slow endorsement
Co-authored-by: Cursor Agent <1****t@u****m> |
Shriprasad <s****6@g****m> | 19 days ago | |
| 325893ff |
docs: endorse pytest-skip-slow plugin
Co-authored-by: Cursor Agent <1****t@u****m> |
Shriprasad <s****6@g****m> | 19 days ago | |
| 56be38e6 | Improve pytester outcome parsing error | Andrew Barnes <1****t@u****m> | 22 days ago | |
| 28e86a6c | merge Merge pull request #14807 from RonnyPfannschmidt/refactor/config-file-dispatch |
Ronny Pfannschmidt <o****e@r****e>
Committed by: GitHub <n****y@g****m> |
22 days ago | |
| d5ef28ce |
fix: validate -c/--config-file and read [pytest] from custom TOML files
Co-authored-by: Claude Opus 5 (1M context) <n****y@a****m> |
Ronny Pfannschmidt <o****e@r****e> | 23 days ago | |
| 9072c4b7 | docs: qualify tox package_env references (#14825) |
Raisul Chowdhury <3****y@u****m>
Committed by: GitHub <n****y@g****m> |
23 days ago | |
| d27774fa |
build(deps): Bump actions/stale from 10.4.0 to 11.0.0 (#14830)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
23 days ago | |
| 8d5a9660 | merge Merge pull request #14790 from RonnyPfannschmidt/doc/commit-access-is-an-invi... |
Ronny Pfannschmidt <o****e@r****e>
Committed by: GitHub <n****y@g****m> |
23 days ago | |
| 98b357f6 | merge Merge pull request #14776 from tjkuson/plugin-import-warnings |
Tom Kuson <m****l@t****e>
Committed by: GitHub <n****y@g****m> |
24 days ago | |
| 4692b4b9 |
Accept MarkDecorator as get_closest_marker default
Co-authored-by: Claude Opus 5 <n****y@a****m> |
ace2016 <2****6@u****m> | 24 days ago | |
| 15b58a22 |
[pre-commit.ci] pre-commit autoupdate (#14832)
Co-authored-by: pre-commit-ci[bot] <6****]@u****m> |
pre-commit-ci[bot] <6****]@u****m>
Committed by: GitHub <n****y@g****m> |
24 days ago | |
| d81152a8 | merge Merge pull request #14799 from Pierre-Sassoulas/match-case-isinstance-dispatch |
Pierre Sassoulas <p****s@g****m>
Committed by: GitHub <n****y@g****m> |
25 days ago | |
| 27601124 | merge Merge pull request #14788 from pytest-dev/pre-commit-ci-update-config |
Ran Benita <r****n@u****m>
Committed by: GitHub <n****y@g****m> |
25 days ago | |
| bf2ca20b | merge Merge pull request #14810 from atiqur-rahman-pro/docs/pyproject-entry-points-... |
Ran Benita <r****n@u****m>
Committed by: GitHub <n****y@g****m> |
25 days ago | |
| c62ad48a |
[automated] Update plugin list (#14826)
Co-authored-by: pytest bot <p****t@u****m> |
github-actions[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
26 days ago | |
| 224e9ef8 | Merge pull request #14754, handle infinite relative tolerance for timedelta v... |
Madan kumar <w****d@o****m>
Committed by: GitHub <n****y@g****m> |
26 days ago | |
| 1d5c4039 | merge Merge pull request #14791 from Pierre-Sassoulas/ini-literal-option-types |
Pierre Sassoulas <p****s@g****m>
Committed by: GitHub <n****y@g****m> |
27 days ago | |
| 3b17fa79 | fix config: add deprecation warning for non-string value in string-typed ini ... | eternalrights <3****7@q****m> | 28 days ago | |
| fc4c1e6a | doc/writing_plugins: change entry-point example from setup.py -> pyproject.toml |
Atiqur Rahman <r****o@g****m>
Committed by: Ran Benita <r****n@u****m> |
28 days ago | |
| f306da74 |
Allow int for ``truncation_limit_lines`` and ``truncation_limit_chars`` in TO...
Co-authored-by: Claude Fable 5 <n****y@a****m> |
Pierre Sassoulas <p****s@g****m>
Committed by: GitHub <n****y@g****m> |
28 days ago | |
| 7052ad24 |
refactor: dispatch config file loading by filename, then suffix
Co-authored-by: Claude Opus 5 (1M context) <n****y@a****m> |
Ronny Pfannschmidt <o****e@r****e> | 28 days ago | |
| e6701ff2 |
docs: update 'Twitter' to 'social media' in CONTRIBUTING.rst (#14804)
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <s****t@r****m> |
atiqur rahman <r****o@g****m>
Committed by: GitHub <n****y@g****m> |
29 days ago | |
| 13dd9d24 |
Raise UsageError from getini for invalid configuration values
Co-authored-by: Claude Fable 5 <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | 29 days ago | |
| cdd87e88 |
[match case] Use match case in ``Source.__init__``
Co-authored-by: Claude Fable 5 <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | about 1 month ago | |
| e263de1e |
[match case] Use match case in ``_idval_from_value``
Co-authored-by: Claude Fable 5 <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | about 1 month ago | |
| dba164bc |
[match case] Use match case in ``RaisesGroup.expected_type``
Co-authored-by: Claude Fable 5 <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | about 1 month ago | |
| 56b196e9 |
build(deps): Bump codecov/codecov-action from 6.0.1 to 7.0.0 (#14601)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| e6904a0e |
Add changelog for the Literal-typed ini options
Co-authored-by: Claude Fable 5 <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | about 1 month ago | |
| 337c3094 |
Register junit_duration_report with a Literal type
Co-authored-by: Claude Fable 5 <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | about 1 month ago | |
| 72ffebfc |
Register junit_logging with a Literal type
Co-authored-by: Claude Fable 5 <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | about 1 month ago | |
| 3c891737 |
Register junit_family with a Literal type
Co-authored-by: Claude Fable 5 <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | about 1 month ago | |
| 184c168d |
Register assertion_text_diff_style with its Literal alias
Co-authored-by: Claude Fable 5 <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | about 1 month ago | |
| 924724a0 |
Register console_output_style with a Literal type
Co-authored-by: Claude Fable 5 <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | about 1 month ago | |
| cbf85112 |
Register empty_parameter_set_mark with a Literal type
Co-authored-by: Claude Fable 5 <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | about 1 month ago | |
| 2b197523 |
Register tmp_path_retention_policy with a Literal type
Co-authored-by: Claude Fable 5 <n****y@a****m> |
Pierre Sassoulas <p****s@g****m> | about 1 month ago | |
| 81c3a74a |
Doc: commit access follows demonstrated judgement, not a single clean PR
Co-authored-by: Claude Opus 5 (1M context) <n****y@a****m> |
Ronny Pfannschmidt <o****e@r****e> | about 1 month ago | |
| ab2ba2dc |
build(deps): Bump actions/setup-python from 6.3.0 to 7.0.0 (#14784)
Co-authored-by: dependabot[bot] <4****]@u****m>, Pierre Sassoulas <p****s@g****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| aa09fa2a | docs: clarify confcutdir plugin discovery cutoff (#14598) |
Andrew Barnes <b****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 771ab77e | Reject negative log_auto_indent values (#14586) |
Syncrain <7****n@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago |