Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/pytest-dev/pytest
The pytest framework makes it easy to write small tests, yet scales to support complex functional testing
https://github.com/pytest-dev/pytest
Since we're working with a stack (last in first out), we need to append
to it in reverse to pres...
a182e10b06e0efd91d78f33db5c7424a2afef258 authored 12 months ago
d1ee6d154f0eef2c753ed6a123eec583d02ae00b authored 12 months ago
warning: The top-level linter settings are deprecated in favour of their counterparts in the `li...
d02618d173cc0229eb85befd3efbf6132135304a authored 12 months ago* feat: 10865
* feat: 10865 refactor code and tests
* feat: 10865 add test skip for pypy
...
Revert "testing: temporarily disable test due to hypothesis issue (#1836)"
101328aba56f84ff8e1e58b5a2301ec0bab82d85 authored 12 months agoThis reverts commit 5cd0535395541d8940035418b368331318002199.
42785cca442cb747aaec707626076ab23c23b4a1 authored 12 months agodoctest: fix autouse fixtures possibly not getting picked up
6c0b6c2f92b68757988cdb11499cac750ba71862 authored 12 months agoFix #11929.
Figured out what's going on. We have the following collection tree:
```
<Dir pyspa...
Bumps [django](https://github.com/django/django) from 5.0 to 5.0.2.
- [Commits](https://github....
Currently, `DoctestModule` does `import_path` on its own. This changes
it to use `importtestmodu...
- [pyproject-fmt] Add pre-commit hook and autofix existing
- Proper setuptools version for pypr...
d1095426c163c8a005d0c1c81612c4cedfe698b5 authored 12 months ago
757778f5f611a06ae5a8ac48c5c950cb1f8fceca authored 12 months ago
Migration from ``setup.cfg`` to ``pyproject.toml``
404d31a942975c04d4a7d48e258260584930819f authored 12 months ago[pre-commit.ci] pre-commit autoupdate
0d91539614192fc90d43694fdd52d75f0e8861cb authored 12 months ago
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.15 → v0.2.0](https://github.com/astral-sh...
c76ea72331f6c45e248b92be8233188ecd2347b7 authored 12 months ago
dab1583ce1ad9c08b64fefc632c9e3d900d4c3dd authored 12 months ago
411c2cbf9d8f1e18aa4b7e53ff3d60790beacf1d authored 12 months ago
c3583dee0b274af84b56e70f270d3a42d0ce2463 authored 12 months ago
a1d99e4bdd6effa2f2c9a50a2f4712e7fe1823d2 authored 12 months ago
[automated] Update plugin list
aaa9ca7327de16ca07e5d169e4cf1ad5d810d1da authored 12 months agobuild(deps): Bump pytest-django from 4.7.0 to 4.8.0 in /testing/plugins_integration
29094983d7a987d9cde776f3a3bc7a2e401954c8 authored 12 months agobuild(deps): Bump pytest-sugar from 0.9.7 to 1.0.0 in /testing/plugins_integration
b8e56557c6c1fdc5e3b4b7dfa5e9adb7586c9699 authored 12 months agoSome setup.cfg cleanups
304ccb4ad75d71d109cac59b3bc838346462919e authored 12 months ago
The setuptools docs say it's obsolete and no longer needed:
https://setuptools.pypa.io/en/latest...
The `package_dir` already achieves this.
ccbae95ad4fd69b0b006272aa3cc65090bdb674d authored 12 months agoNot needed since bfe2cbe875f81bd8e333796d2594a9cd36806374.
cd9b2410472076652499512567ea40815f67654a authored 12 months agoNot used since 731c35fcabef1e145e8049e1bf565a7c18ca328d.
5c67cb2cf57e50680ebdc5591b38dc2ab23834e4 authored 12 months agoLegacy thing that is no longer needed.
2fc7926bae8774f1a929752525b6ec1b95ea15e5 authored 12 months agoTOML is a nicer format than the INI format setup.cfg uses.
79de84941a50eda7a6f0511cb0ce7a63776e4563 authored 12 months ago0d1f4c63fad83b02d0619976e008eec1ee8eff9c authored 12 months ago
Bumps [pytest-sugar](https://github.com/Teemu/pytest-sugar) from 0.9.7 to 1.0.0.
- [Release note...
Bumps [pytest-django](https://github.com/pytest-dev/pytest-django) from 4.7.0 to 4.8.0.
- [Relea...
3101c026b96e15f155aa95e3e3321dbee586643c authored 12 months ago
52fba25ff94f01e510ff5e7f52da5bb74a32669e authored 12 months ago
4eb246d4e15de8e6d089d35c30d1102fb4f46032 authored 12 months ago
e7bab63537ab66f2f750e72627c8fef3ccfddc9f authored 12 months ago
41ff3584d78091bf2753bb084b1f5ec8a97c3f51 authored 12 months ago
See https://pylint.readthedocs.io/en/stable/user_guide/messages/error/bad-str-strip-call.html
b62d4b352748729c9e36f450226d191335177730 authored 12 months agofcb818b73ca7bd0d005cec8f9b5aba47c4876de3 authored 12 months ago
e193a263c70549815377158dd0ddc9e325f6dfcf authored 12 months ago
7eef4619d591e0720d20a770dd0f837a389ef415 authored 12 months ago
compat: a couple of minor cleanups
e28f35c296c56a3cc37e469914da407e4fe8e134 authored 12 months agob28bb01c4ee2933847b53916164dedba69be2107 authored 12 months ago
The helpers don't add much.
3ba40954007d56b0f0cef251660c127fe6540137 authored 12 months ago
I think it only obfuscates the code, also calling `bytes` a string type
is pretty misleading in ...
Ignore isort on _version.py
20b18f0f9a3f752726c54c812f021f8b7a342377 authored 12 months ago
The file is generated. This makes `ruff src/` run cleanly (when not
running through pre-commit).
[pre-commit] Activate ruff checks and fix existing issues
5be64c31cbadde5fd8595922b7c2c02ac13f6d29 authored 12 months ago514376fe29d09945983754f2a4855583255ba5d9 authored 12 months ago
180a16a34414dae308a26ff69315db3de6f54e68 authored 12 months ago
233ab89f1302465e3a2708043efee9e029db5c78 authored 12 months ago
8967c527ff0760bcaafcfc4db874a0b1e9f86316 authored 12 months ago
Migrate from ``autoflake``, ``black``, ``isort``, ``pyupgrade``, ``flake8`` and ``pydocstyle``, ...
bdfc5c80d8700b6e76c706ea11b3b9c8d41a8b76 authored almost 1 year ago9ef905e7a080181cdcd8840e694cc45cfbe8b99a authored almost 1 year ago
ruff is faster and handle everything we had prior.
isort configuration done based on the indica...
4588653b2497ed25976b7aaff225b889fb476756 authored almost 1 year agoTaken from https://github.com/pytest-dev/pytest/pull/11885 that was closed.
046f64751bf205df695f11d298bfd87d553e1314 authored about 1 year ago4546d5445aaefe6a03957db028c263521dfb5c4b authored about 1 year ago
Replace reorder-python-imports by isort due to black incompatibility
de161f87914e5e01d76564246d60ca6a9cf1b619 authored about 1 year agoSeems like `.git-blame-ignore-revs` is the standard used and also automatically detected by GitH...
3be2a9d655b5b0af388971ab39893b68d703d88d authored about 1 year agoe885013c6bb49e90f8b7a34583e0f249f5de9bb7 authored about 1 year ago
Running pre-commit on all files after replacing reorder-python-imports by isort.
8b54596639f41dfac070030ef20394b9001fe63c authored about 1 year agoUnfortunately black and reorder-python-imports are no longer compatible, and from the looks of i...
899a6cf2cef5f74e7f85fb22ec3449fbd57a5aae authored about 1 year ago
Co-authored-by: Bruno Oliveira <[email protected]>
Co-authored-by: Zac Hatfield-Dodds <zac.hatfie...
As discussed in #11868.
21bec6cfbed7ae36478aeff956919727c2bb8641 authored about 1 year agoThe current version (0.23.4) explicitly does not support pytest 8 yet, so we fallback to the pre...
cb57bf50b183d62068d8f0e21ed71bdcde5fdb3a authored about 1 year agoBumps [hynek/build-and-inspect-python-package](https://github.com/hynek/build-and-inspect-python...
c0dfc451861a0fbf9b9659e8f8d723ea730a5619 authored about 1 year ago
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.23.3 to 0.23.4.
- [...
- Previously, `getpass.getuser()` would leak an ImportError if the
USERNAME environment varia...
Co-authored-by: pytest bot <[email protected]>
8853a57532899b124578af7baa217acc26061070 authored about 1 year agoChange our mypy configuration to disallow untyped defs by default, which ensures *new* files add...
878af85aefc5a2a255395d66a38a2136aeaeb086 authored about 1 year agopathlib: speed up `make_numbered_dir` given a large tmp root
e7b43b2121acdbead4627b239ab066b4edba2d14 authored about 1 year agoCherry pick 8.0.0 release notes
d0f427aec4c885b60fc2f5c6b0ceeaeef8ad7b8f authored about 1 year agoPrepare release version 8.0.0
(cherry picked from commit 24c681d4eeaad22ba26c5bcf6958e0476ae37a89)
c6da0d20d2d1ebc1b69a013d9ff2555c93d890f3 authored about 1 year agoRounding microsecond might cause it to reach `1_000_000`, which raises a TypeError.
a164ed6400b675118ba499304ba94a65b8cf9bca authored about 1 year ago
The function currently uses `find_suffixes` which iterates the entire
directory searching for fi...
config: use `pluginmanager.unblock` instead of accessing pluggy's internals
ac2cd72e5fb00257ef1f6e17b2c16336362c6234 authored about 1 year agoThe function was added in pluggy 1.4.0.
bca4bb0738f23f79cbf21f8c36e076d12ef62468 authored about 1 year agorunner: inline `call_runtest_hook`
2a77f8d88bac9dc1b3a86afb44bbfbd802e2ed34 authored about 1 year agoHave each hook explain how implementing it in conftests works. This is part of the functional sp...
d97295730330f7686a155dd6482405ad4a823b1d authored about 1 year agoRelated to #10042, some tests in `test_debugging.py` are actually flaky and should not be consid...
44bf7a2ec0b52b60089ebd8439f64487df079214 authored about 1 year ago
- Reduce the common stacktrace by an entry - this is mostly for benefit
of devs looking at cra...
Co-authored-by: pytest bot <[email protected]>
21440521fac9d8702d43ef63ccdf8e035ae46bc3 authored about 1 year ago
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://...
doc/writing_plugins: correct inaccuracies re. initial conftest loading
c3fc717ff74cb8be6fb04c630b28b720d6c041ad authored about 1 year agoCo-authored-by: Bruno Oliveira <[email protected]>
d71ef04f117faf97eab2d83ddba935e6ac77c3c2 authored about 1 year ago111ad26f714b05166b473a01823be9f7a21d306d authored about 1 year ago
Prefer using the invocation dir over CWD
2178ee86d7c1ee93748cfb46540a6e40b4761f2d authored about 1 year ago
The current WD is not supposed to matter, the invocation dir is what
should be relevant. But kee...
We should aim to remove all `cwd()` calls except one, otherwise things
will go bad if the workin...
We should aim to remove all `cwd()` calls except one, otherwise things
will go bad if the workin...
We should aim to remove all `cwd()` calls except one, otherwise things
will go bad if the workin...
Fixes #11789 and #11790
eefc9d47fc40a9d5971a6207689c50efb1555a95 authored about 1 year agoFollow up to https://github.com/pytest-dev/pytest/pull/11754, noticed that the latest GitHub rel...
7fd561e4ba5dd5ae7a04c7b92b83cef8492a358d authored about 1 year agoPrepare release version 8.0.0rc2
da9749cd97dbbbd06e67949eb0c41f9c8f6298ef authored about 1 year agoPrepare release version 8.0.0rc2
(cherry picked from commit 97960bdd148972b2f26bd9b336163e590bb...
ca5bbd0a9f56c8f9b3f5a43c47ff11c360f33d0b authored about 1 year agoRef: https://github.com/pytest-dev/pytest/pull/11825#issuecomment-1894094641
5cd0535395541d8940035418b368331318002199 authored about 1 year agoavoid using __file__ in pytest_plugin_registered as can be wrong on Windows
0f5aa5a7d2394334f32402532f974545e8f03d11 authored about 1 year ago