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

Add full type annotations to logging/test_fixture.py

7e69ce744909372c9686ab5efe5180de1799df73 authored about 1 year ago
Configure ReadTheDocs to fail on warnings (#11535)

* Configure ReadTheDocs to fail on warnings

Important to catch broken links and references.
...

ee53433542463c91c12dace0ea7046087417cbbd authored about 1 year ago
build(deps): Bump pytest-mock in /testing/plugins_integration (#11539)

Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from 3.11.1 to 3.12.0.
- [Releas...

304ab8495e11a0182fa2d65f4d7603ee3420db1c authored about 1 year ago
[pre-commit.ci] pre-commit autoupdate (#11510)

* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/mirrors-mypy: v1.5...

40e9abd66b3b8cafa11a08442f16849d92478fc7 authored about 1 year ago
[automated] Update plugin list (#11534)

Co-authored-by: pytest bot <[email protected]>

cac1eed0ea2901c6acc249cdd0050fe61caf1e85 authored about 1 year ago
build(deps): Bump pytest-bdd in /testing/plugins_integration (#11506)

Bumps [pytest-bdd](https://github.com/pytest-dev/pytest-bdd) from 6.1.1 to 7.0.0.
- [Release no...

cdddd6d69533c07092c64445a0d42d1fc75c8299 authored over 1 year ago
[automated] Update plugin list (#11504)

Co-authored-by: pytest bot <[email protected]>

dd68f9c95aed1dbad6d07766b0a1906a1a1e1f55 authored over 1 year ago
Use hyphenated cmdline options in docs (#11490)

Fix #11091

3ab70cd561cb0b7e5188b22ecf54a0e2d7a67bcb authored over 1 year ago
build(deps): Bump django in /testing/plugins_integration (#11491)

Bumps [django](https://github.com/django/django) from 4.2.5 to 4.2.6.
- [Commits](https://githu...

23825f2983db1015a3f861de782b06ae9940bcec authored over 1 year ago
[pre-commit.ci] pre-commit autoupdate (#11492)

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-comm...

fb3a46dd8a943554c0659c156fa7026d2ddca84d authored over 1 year ago
Merge pull request #11486 from pytest-dev/RonnyPfannschmidt-contributing-tags

3d6d93d0c2bb319f426a776171cf5aa400ecfab2 authored over 1 year ago
[automated] Update plugin list (#11487)

Co-authored-by: pytest bot <[email protected]>

2401d76655bdf2ba8fbeba9dff1d0c487c4fd335 authored over 1 year ago
Duplicated parameters in parametrize marker (#11489)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-au...

af9b1dcc24ab1c71ae4109323ceb5270738bb5e1 authored over 1 year ago
Update CONTRIBUTING.rst

Co-authored-by: Bruno Oliveira <[email protected]>

696859fc434ddbbfa582002dc2cf5d82eb3a1765 authored over 1 year ago
Update CONTRIBUTING.rst to mention tag fetches

closes #11485

e966dcd93c0fa3eb80f420088c6de7d9251627e2 authored over 1 year ago
[pre-commit.ci] pre-commit autoupdate (#11478)

updates:
- [github.com/asottile/reorder-python-imports: v3.11.0 → v3.12.0](https://github.com/as...

54623f0f33c367e19c4041d30f11f71787e30719 authored over 1 year ago
Add more comprehensive set assertion rewrites (#11469)

Fixes #10617

9bbfe995eed5c0f32a726d3c3fb98a474c87dc44 authored over 1 year ago
[automated] Update plugin list (#11472)

Co-authored-by: pytest bot <[email protected]>

d015bc1b8fae14e224dc2e05caf6f38e261c328f authored over 1 year ago
[pre-commit.ci] pre-commit autoupdate (#11468)

updates:
- [github.com/asottile/pyupgrade: v3.11.0 → v3.13.0](https://github.com/asottile/pyupgr...

b73b4c464c6fa54f55a1c6ed8eaceb5529a161bb authored over 1 year ago
Merge pull request #11315 from bluetech/pytest-monkeypatch-chdir

pytester: use `monkeypatch.chdir()` for dir changing

1a16bac1319a9be0df346aac9785b4ddc12925f5 authored over 1 year ago
pytester: use monkeypatch.chdir() for dir changing

The current method as the following problem, described by Sadra
Barikbin:

The tests that reques...

81192ca85f8e64ddf71a7c467c228be08440ebce authored over 1 year ago
Merge pull request #11464 from pytest-dev/update-plugin-list/patch-d2b214220

[automated] Update plugin list

486a9ed057ee43a70d0a2e1c57bb3b8f925dc42c authored over 1 year ago
Merge pull request #11446 from bluetech/pluggy-typing

Improve pluggy-related typing

4ae102c003f9564d8ae7ff867ef52690856331ac authored over 1 year ago
[automated] Update plugin list

c614590ec995d14119694ee7c53101cb43cbc6d1 authored over 1 year ago
Add class docstring to NodeMeta (#11427)

d2b214220f63e1fc90120495d600893cfba6219f authored over 1 year ago
Handle ValueError raised during faulthandler teardown code (#11453)

Fixes #11439

a38ad254ef955fbb2f784b42d93eb30350b26957 authored over 1 year ago
[pre-commit.ci] pre-commit autoupdate (#11451)

updates:
- [github.com/asottile/reorder-python-imports: v3.10.0 → v3.11.0](https://github.com/as...

9f22d3281c707b42526ed5a781670b33c7cba1b1 authored over 1 year ago
Fixes issue #11314 - log_file_format does not default to log_format (#11444)

* Fixes issue #11314 -

* Incorporated review comments for issue #11314

* Update changelog/...

9a58e6283dc499eca722ac7929fde0f32c43031f authored over 1 year ago
[automated] Update plugin list (#11443)

Co-authored-by: pytest bot <[email protected]>

8bac8d7807a5fb9f716d1b59e2af860ec59480da authored over 1 year ago
build(deps): Bump pytest-html in /testing/plugins_integration (#11449)

Bumps [pytest-html](https://github.com/pytest-dev/pytest-html) from 4.0.1 to 4.0.2.
- [Release ...

5e081162df925200adee1cfb2fbe4b6832081d16 authored over 1 year ago
Change deprecated_call to handle FutureWarning (#11448)

Fixes #11447

8062743f6b03f43d2c06d4c6a4b4b0a9bf91b5ea authored over 1 year ago
Merge pull request #11424 from lanzz/exceptioninfo-groupcontains

8b7f94f145320ad3cf102f8aec76a3b7d14cfdb2 authored over 1 year ago
Document the new `ExceptionInfo.group_contains()` method

e7caaa0b3ee60ebb4aa446156f080053dd6a2d03 authored over 1 year ago
Add new `ExceptionInfo.group_contains` assertion helper method

Tests if a captured exception group contains an expected exception.
Will raise `AssertionError` ...

ab8f5ce7f46593b0d7217ea75c1c919fa51b1ea7 authored over 1 year ago
Fix a minor mistake in docs ("``match`` method" is actually talking about the `match` keyword parameter)

5ace48ca5bc701d01cb50d30ca945234c26d5f17 authored over 1 year ago
code review: kwarg-only `match`, replace `recursive` with `depth`

a47fcb48733e586b4e674ca6d21a392678c0f85c authored over 1 year ago
Improve pluggy-related typing

f43a8db618a7f0ef9c44a403993cab758eb16ef0 authored over 1 year ago
Add flask_fixture to the manual plugin list

Fixes #11435

6c2feb75d2c4bb01aa145f8b85f7fb09fe4133cf authored over 1 year ago
[pre-commit.ci] pre-commit autoupdate (#11434)

updates:
- [github.com/psf/black: 23.7.0 → 23.9.1](https://github.com/psf/black/compare/23.7.0....

fcb8e73288ba0f3ed88524a1c95413b4cd0efd0c authored over 1 year ago
Force terminal width when running tests (#11425)

Related to #11423

241f2a890e3fb3f83eac807de0b4ad00510c7f65 authored over 1 year ago
build(deps): Bump pytest-html in /testing/plugins_integration (#11431)

Bumps [pytest-html](https://github.com/pytest-dev/pytest-html) from 4.0.0 to 4.0.1.
- [Release ...

39f930635786fc34abea812dc2473c95631610e9 authored over 1 year ago
build(deps): Bump django in /testing/plugins_integration (#11430)

Bumps [django](https://github.com/django/django) from 4.2.4 to 4.2.5.
- [Commits](https://githu...

e0d04bdfabf9869c43add446116f0c5c78d9f746 authored over 1 year ago
build(deps): Bump actions/checkout from 3 to 4 (#11429)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](ht...

1949b09fd3416d710607eb062de442460d08d522 authored over 1 year ago
Merge pull request #11428 from ShurikMen/fix_tests_signature

Fix invalid signature in TestSorting tests

3d1c52f20360cb7a423b9820509e88e782139f69 authored over 1 year ago
fix invalid signature

a60c23c3d8e9109246f4fe62ade3b63cfb345d33 authored over 1 year ago
[automated] Update plugin list (#11422)

Co-authored-by: pytest bot <[email protected]>

24a6ee1ffdc85d7e6a9972cc39583e514919abc6 authored over 1 year ago
Fix --import-mode=importlib when root contains `__init__.py` file (#11420)

We cannot have an empty module name when importing a `__init__.py` file that
is at the rootdir....

e2acc1a99b4e7d0942d7a9de57a7490ac9a3978d authored over 1 year ago
Refactor: use division operator to join paths (#11413)

Starting with `resolve_package_path` and its associated tests,
this refactoring seeks to make p...

71f265f1f32c7d9884b07f08819fb148b5b13521 authored over 1 year ago
Fix assert rewriting with assignment expressions (#11414)

Fixes #11239

7259e8db9844f6f973c1d0c0ce46cc68c8248abb authored over 1 year ago
Merge pull request #11416 from bluetech/fixtures-getfixtureclosure

fixtures: more tweaks

dd7beb39d6798cfe056b6fc08536d3c0bca7fa22 authored over 1 year ago
doctest: remove unnecessary Optionals

2ed2e9208dfc39597c122a2c1ad884aab0559783 authored over 1 year ago
doctest: some missing type annotations

6ad9499c9cb02846d22f6217dc54e70b2e459f2b authored over 1 year ago
fixtures: remove `getfixtureinfo(funcargs)` in favor of None `func`

Since we already broke plugins using this (private) interface in this
version (pytest-play, pyte...

b3a981d3859f563fa6c24d8a30e1bf76030d2968 authored over 1 year ago
doctest: inline `_setup_fixtures`, make more similar to `Function`

There used to be two callers to `_setup_fixtures()`, now there's only
one, so inline it and make...

ab63ebb3dc07b89670b96ae97044f48406c44fa0 authored over 1 year ago
fixtures: clean up getfixtureclosure()

Some code cleanups - no functional changes.

48b03956482e2082191bb58d707f3c004f15aa68 authored over 1 year ago
fixtures: change getfixtureclosure(ignore_args) to a set

Only used for containment checks so a Set is more appropriate than a
list.

9c112755535400e6008c8a479a72b5f56d0687b0 authored over 1 year ago
Adjustments to the release process (#11410)

As discussed in #11408:

* Improve documentation for the release process.
* Fix the descripti...

e5c81fa41aa437261009d2dcbed5f05bb2b86647 authored over 1 year ago
Merge pull request #11408 from pytest-dev/release-7.4.2 (#11409)

Prepare release 7.4.2

(cherry picked from commit b0c4775a28aebcd3d3d6394ebb36838df01f809d)

0a06db0729ef837fdbdfd25f34dbd9cc4fdb59c7 authored over 1 year ago
Use _pytest.pathlib.safe_exists in get_dirs_from_args (#11407)

Related to #11394

5936a79fdbf69b7ba274df9bd005c8bad0e9f310 authored over 1 year ago
Fix crash when passing a very long cmdline argument (#11404)

Fixes #11394

28ccf476b91be32ffda303f0d7a8b57e475b465b authored over 1 year ago
Change PytestReturnNotNoneWarning to return a normal warning (#11211)

Fixes #10465

333e4eba6b09f40f80aaeee6581a37c5af34aad7 authored over 1 year ago
Merge pull request #11317 from tjsmart/fix-issue-11237

Fix doctest collection of `functools.cached_property` objects.

e787d2ed48297cdd1ae95f9cccb31fc999ab1ad5 authored over 1 year ago
doc: Remove done training (#11399)

f6b6478868322a5958a7cf24886257e5990c6ced authored over 1 year ago
Improve plugin list disclaimer (#11397)

Closes #11391

3ce63bc76874b6b60377c8f001ceb03ed5c2f34f authored over 1 year ago
Merge pull request #11393 from pytest-dev/fixtures-tweaks

Fixtures tweaks

faa8f2ea0805f2301353ebd82cb3fa9bb95b1f1e authored over 1 year ago
Fix import_path for packages (#11390)

For packages, `import_path` receives the path to the package's `__init__.py` file, however modul...

194a782e3817ee9f4f77a7a61ec68d25b3b08250 authored over 1 year ago
python: avoid an Any

bc71561ad9bb5d7a68f0d0da3a3ba79c5c327892 authored over 1 year ago
fixtures: avoid using the mildly expensive `fixturenames` property

Avoid creating a list copy + 2 sets + a linear search through the list
(in the common case).

574e0f45d908cd51f81538543e9aedcaeaac6900 authored over 1 year ago
python: type some CallSpec2 fields as immutable

Knowing that a field is immutable makes it easier to understand the
code.

8d815ca55b054c556e4bed7e5d3d51b67db43d3e authored over 1 year ago
fixtures: tiny code cleanup

d4872f5df75cc4a8a875fe783ae1e0307b2b8b47 authored over 1 year ago
fixtures: require `item.fixturenames` to exist in `_fillfixtures`

I could find 2 plugins that would be broken by this (pytest-play and
pytest-wdl), but they will ...

b8906b29a758faebba775b1ad544bba537c99d69 authored over 1 year ago
doctest: add `fixturenames` field to `DoctestItem`

The field is used in `_fillfixtures`, in preference to
`request.fixturenames`, which also includ...

82bd63d318dd46e877b51beaf80c9758603aa0b1 authored over 1 year ago
fixtures: avoid some redundant work in `_fillfixtures`

d2b5177dd666d034e982db1dd69e411fcff123dd authored over 1 year ago
fixtures: use the item `fixturenames` in `request.fixturenames`

`_pyfuncitem.fixturenames` is just an alias for
`_pyfuncitem._fixtureinfo.names_closure` (at lea...

65c01f531b45bd62c5a28a910645dbfb878d8017 authored over 1 year ago
[pre-commit.ci] pre-commit autoupdate (#11389)

updates:
- [github.com/PyCQA/autoflake: v2.2.0 → v2.2.1](https://github.com/PyCQA/autoflake/com...

8032d212715108c5187e57b5fccdd2502e716410 authored over 1 year ago
build(deps): Bump pytest-html in /testing/plugins_integration (#11384)

Bumps [pytest-html](https://github.com/pytest-dev/pytest-html) from 3.2.0 to 4.0.0.
- [Release ...

9c8937b4800c72bb511a45f4548f0c58823ec30b authored over 1 year ago
build(deps): Bump anyio[curio,trio] in /testing/plugins_integration (#11383)

Bumps [anyio[curio,trio]](https://github.com/agronholm/anyio) from 3.7.1 to 4.0.0.
- [Release n...

0d8b87f161156cf4cdf356814078de58dcbe7b91 authored over 1 year ago
build(deps): Bump twisted in /testing/plugins_integration (#11385)

Bumps [twisted](https://github.com/twisted/twisted) from 22.8.0 to 23.8.0.
- [Release notes](ht...

65c73a09e7b95e98f4f7a63bd2ec7b3161a0a781 authored over 1 year ago
Fix user_properties not saved to XML if fixture errors during teardown

Move handling of user_properties to `finalize()`.

Previously if a fixture failed during teard...

917ce9aa0102c7f0ec8fdac118058c41ffb603e6 authored over 1 year ago
[automated] Update plugin list (#11380)

Co-authored-by: pytest bot <[email protected]>

4e3a0874dfc1061070b677492543a1a77d1c6d8c authored over 1 year ago
Merge pull request #11379 from nicoddemus/cherry-pick-release

Merge pull request #11377 from pytest-dev/release-7.4.1

ba0da81f887afa3b07b120b6c7756aba1a25c898 authored over 1 year ago
Merge pull request #11377 from pytest-dev/release-7.4.1

Prepare release 7.4.1

(cherry picked from commit 82eb86f707cac79f33d0ff69723ccf1cea7e75f7)

f08782d8d0e793fbd2c565556938d41b2d8d4b62 authored over 1 year ago
build(deps): Bump pypa/gh-action-pypi-publish from 1.8.8 to 1.8.10 (#11310)

Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.8.8 t...

5b528bd1317f6268a93e9ada3bb5f6a190eb257c authored over 1 year ago
Merge pull request #11378 from nicoddemus/improve-ci-workflow

Improve CI workflow

e4794b26b297fd3752e870fba9094d6a129d1aa7 authored over 1 year ago
Improve CI workflow

* Build the package only once, and test on all platforms.
* Deploy is now triggered manually via...

ab6cae21262dff2581d5ce6e69be6c79abddc7ab authored over 1 year ago
Update CONTRIBUTING.rst (#11368)

Chnaged Status: easy to good first issue, and updated the URL

afb8d66e42a3449476cf9bf4526705b1e36ff5a5 authored over 1 year ago
Improve docs for last-failed-no-failures

Improve documentation for last-failed-no-failures to make the different options and the function...

76ba7db6ce57846af4b82e0dabd9c5fbcd7c6b44 authored over 1 year ago
Merge pull request #11360 from seanjedi/issue_11356-fixing-precommit-issue-with-flake8

fix: fixing an issue with pre-commit with mypy and flake8

941b203c940d9c3ed3e74d0352191456b1efc1e7 authored over 1 year ago
fix: fixing an issue with pre-commit with mypy and flake8

19d6b12b2a98f273a082f83cc8d469ab5db4e155 authored over 1 year ago
[automated] Update plugin list (#11358)

Co-authored-by: pytest bot <[email protected]>

17e8f2b3fcbc347939215f100d5e4911a6a3c80b authored over 1 year ago
Fix platform-dependent type-check errors (#11345)

Use more explicit `sys.platform` checks, instead of the previous check using `in`, which mypy un...

ff23347f1f050d2544cfb89ff6aa9af885c27375 authored over 1 year ago
Merge pull request #11353 from bluetech/pluggy-typing

Fixes for typed pluggy

00fedcc43908b14ae48e4ee8abe21dfc38a91da0 authored over 1 year ago
Fixes for typed pluggy

Since version 1.3 pluggy added typing, which requires some fixes to
please mypy.

77f7f59b2a7058d75c2d4fd8fc15ee6858dc5dc3 authored over 1 year ago
Correct the spelling of ArgSource.INVOCATION_DIR (#11333)

Config.ArgsSource.INCOVATION_DIR remains as a backwards compatibility
alias.

7500fe44b2aed9fec71251b7826f726d9b403428 authored over 1 year ago
Fix a typo in anatomy.rst (#11341)

23b899f31f91a05a75d06bcc5e8c99891b210541 authored over 1 year ago
Merge pull request #11334 from WarrenTheRabbit/fix-docstring-spelling-in-pytester-1

doc: fix docstring spelling in pytester

43d1398fc7f6af7f140afcadf9cccf569dd66ac2 authored over 1 year ago
Merge pull request #11326 from DetachHead/DetachHead-patch-1

use `if not TYPE_CHECKING` on `pytest.__getattr__` to prevent type checkers from using it

03832fa31e28e29eb22eb9cc45d45554f833a73b authored over 1 year ago
[pre-commit.ci] pre-commit autoupdate (#11335)

updates:
- [github.com/asottile/blacken-docs: 1.15.0 → 1.16.0](https://github.com/asottile/blac...

8f36fd5454f6d3c9fa33ecb7403641bfa713ab87 authored over 1 year ago
ignore mypy error on deprecated `Instance` usage

cada6c105a7f9e22d5519c0e9355cc44df2a58b8 authored over 1 year ago
doc: fix docstring spelling in pytester

3f446b68fdbd8f1e0e0d9af3960e1da90f58f1b3 authored over 1 year ago