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
9ea2e0a79f8d45b801b4bff8e4ad0aefd09fab21 authored about 1 year ago
We have a use case for this in the next commit.
The name can be obtained by using `manager.get_...
0f5ecd83c432bc56e39549fe7353d06a92455a2a authored about 1 year ago
Otherwise mypy doesn't fully recognize pluggy's typing for some reason
or another.
6e9f566d7919b52be266c365ea65cbab79108469 authored about 1 year ago
hookspec: minor doc tweaks
a6708b92542eb886d3ba7b809213b2068a7988a6 authored about 1 year agoe895c9d38cf4e66912c60c9c8307efcb9f82df4c authored about 1 year ago
c973ccb622da11181bbb820fa5861e825982f271 authored about 1 year ago
Reflect the order in which the plugins are called.
dd1447cfe509fac989258e078a73609e0d122a73 authored about 1 year agoDuplicates info in the type annotations which sphinx understands.
9ad8b9fc36f4f62e085b1ad9a8b8bdf041cd8fa9 authored about 1 year ago348e6de102c5a5ccdaab88c860d57b1f49f7b1d2 authored about 1 year ago
config: stop using exception triplets in `ConftestImportError`
9af6d46371074a19ca5c35cf1cc24a11ed1b5828 authored about 1 year ago
In recent python versions all of the info is on the exception object
itself so no reason to deal...
nodes: rename `iterparents()` -> `iter_parents()`
6e74601466d47a401d209a58855d584c74fae856 authored about 1 year agomain,python: move `__pycache__` ignore to `pytest_ignore_collect`
3acbdc2f79127bb20427ea23ea4ce76221fde4f3 authored about 1 year ago
After the fact I remembered there is `node.iter_markers()` so let's be
consistent with that rath...
This removes one thing that directory collectors need to worry about.
This adds one hook dispat...
2413d1b214dd2f58d301043dada54ff153ac373a authored about 1 year agoImprove assert mod not in mods error message
2bb0eca3471dab6454259adb102de4e002fac2f6 authored about 1 year ago[ran: tweaked message, made the formatting lazy]
1c9d6834fdd7343397993703f3eb82e1460c56fd authored about 1 year agoCo-authored-by: pytest bot <[email protected]>
c6ed86453fbfd4a1f9ef6814a7a4679b3ced778f authored about 1 year agoFIX key formating divergence when inspecting plugin dictionary.
e403bbf1a908be6069e4dc2caeb21fb86a14935a authored about 1 year agoFix #27806.
Co-authored-by: Loïc Estève <[email protected]>
Co-authored-by: Ran Benita <ran...
doctest: remove special conftest handling
d65bcd9a3b110ddf59c222dcfc8a02db605f0cd3 authored about 1 year ago(Diff better viewed ignoring whitespace)
Since e1c66ab0ad8eda13e5552dfc939e07d7290ecd39, confte...
06dbd3c21ccdf1ac76e8fa264048133cb4660842 authored about 1 year agoAdd note about package scope
1b78de4e21d55983422e7327a51304ef0fc61679 authored about 1 year ago
The behavior of package scope is surprising to some
(as seen by related questions on SO), this s...
nodes: add `Node.iterchain()` function
5645fa45fb063027aab6d49d4d64090446d82292 authored about 1 year ago
This is a useful addition to the existing `listchain`. While `listchain`
returns top-to-bottom, ...
python: remove support for nose's `compat_co_firstlineno`
bd58c09500cdb8d36d222ce9db14b8a49b579bab authored about 1 year ago996e45d66a8e4ec16562e2937a532e9a3afe9876 authored about 1 year ago
Since we're removing nose support, let's also drop support for this
attribute.
From doing a cod...
c7d85c5dc668e4a9eb2867e7432d599cdde799bd authored about 1 year agoA few cleanups
b1c430820f0e5c5120a0f2a70078a770afd09a3d authored about 1 year ago35a3863b151aa97b52b4b612b4959090cab307d9 authored about 1 year ago
Couldn't find any reason for this indirection, nor any plugins which
rely on it. Seems like hist...
There is no need to store the FixtureManager on each FixtureDef.
372c17e22899e8e676e105dae714e897426bef86 authored about 1 year agobuild(deps): Bump hynek/build-and-inspect-python-package from 1.5.4 to 2.0.0
c4a356eaee57ebbf70cc336dbe083e3cea47dee5 authored about 1 year ago
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.
- [...
Bumps [hynek/build-and-inspect-python-package](https://github.com/hynek/build-and-inspect-python...
956d0e5e9d9a10c7e7faa90909452890f6081e62 authored about 1 year ago
updates:
- [github.com/PyCQA/flake8: 6.1.0 → 7.0.0](https://github.com/PyCQA/flake8/compare/6.1...
build(deps): Bump pytest-asyncio from 0.23.2 to 0.23.3 in /testing/plugins_integration
9b7e10a3c0f0a68c9a8c3b4dc24616db1c175454 authored about 1 year ago
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.23.2 to 0.23.3.
- [R...
fixtures: match fixtures based on actual node hierarchy, not textual nodeids
97dfc3429e69ce27c8322a8cb25501abe0ad41a1 authored about 1 year agoRefs #11662.
--- Problem
Each fixture definition has a "visibility", the `FixtureDef.baseid`
a...
Add an internal "register fixture" API and use it replace object patching for fixture injection
b968f63ca5b245face9c53fa4bbfd070e50c567b authored about 1 year ago
Add a function on the `FixtureManager` to register a fixture with
pytest. Currently this can onl...
Instead of modifying user objects like modules and classes that we
really shouldn't be touching,...
unittest: inline `_make_xunit_fixture`
851b72f2893e942a453c3327abc97ca55ade45ec authored about 1 year agoSmall `fspath` cleanups
1d7349d18c18ce6b8595e4ecf752fb30f34e7cbd authored about 1 year agoCo-authored-by: pytest bot <[email protected]>
5747a6c06ebc4823a48a2b66d0644f36dda3eee6 authored about 1 year agoCo-authored-by: Brian Okken <[email protected]>
13eacdad8ac434b4336cf1e6496869815a6457c7 authored about 1 year agoThe indirection makes things harder to follow in this case IMO.
a616adf3aef6057203994852a8e0ae3cef54e0e3 authored about 1 year ago685e52ec30f87cd968fea28addf985925631b703 authored about 1 year ago
7b4ab8134ead2bd11d3e670b281d960c547e50f0 authored about 1 year ago
Fix a mistake in pytest.warns' docstring (expect_warning accepts tuples, not any sequence)
c2a4a8d518b433b0b688d084bad09040bf774f70 authored about 1 year agoac96256272b6b806f1b036ed4476910b16dd7ff0 authored about 1 year ago
Follow up to #11754.
d38193646d872db966731234dcfc06ca995d07e4 authored about 1 year agoImprove GitHub release workflow
cd07177906bbaad1d86691a19607ac6e88f73c5b authored about 1 year ago6321b74faefef7c5dc267862eccc6a56f9a0ec61 authored about 1 year ago
This changes the existing script to just generate the release notes and delegate the actual publ...
5aa289e47865ab9c1ca4d1efbffa1fd1024b81f7 authored about 1 year agoCo-authored-by: Ran Benita <[email protected]>
12b9bd580198edf88a795b692cbd6a1a05fe408a authored about 1 year agoRemove pytest 8 deprecations
f017df443a589494b0a47488b1616db7c12dc8cd authored about 1 year ago6c89f9261c6f5bde93bd116ef56b7ac96fc0ef21 authored about 1 year ago
Per our deprecation policy.
215f4d1fab4fad11ea57fdd2b497d7cd3b46c7c1 authored about 1 year ago1ba07450e427b7e291fd7c33278c0c087529a57d authored about 1 year ago
a98f02d4238793300f1be01f75bf0fff5609a241 authored about 1 year ago
effc2b05294b63e23162327a5704077dda6c60d4 authored about 1 year ago
terminalwriter: fix crash trying to highlight empty source
2c5c97b6d150b21860ac18a40856f960b5fbcbf8 authored about 1 year ago
For quick checking I don't know how we can reach here with an empty
source, so test just checks ...
10fbb2325f66fb1834c02b04dd07089cca13985f authored about 1 year ago
477959ef7dc9f8491a80ba4d585d737a68f0a34c authored about 1 year ago
4147c92b21c0fc393a59e42cab2b2511fcb60e06 authored about 1 year ago
1f8b39ed328a395c073db603bf4063fb3ec97218 authored about 1 year ago
f4e7b0d6e00aff21d1c4aadfb51fb0f1f4c4bd94 authored about 1 year ago
f13724e2e3e7b66b09cca4608a57e68f7d303b6d authored about 1 year ago
0591569b4ba9bfb12e5b5307da621a83c4ceced6 authored about 1 year ago
0f18a7fe5e8911fe4b329931dcf8f23cb30130bd authored about 1 year ago
Cherry pick 8.0.0rc1 release notes
a53984a55b35235a21b4142822a9dd10d7e995f1 authored about 1 year agoPrepare release 8.0.0rc1
(cherry picked from commit 665e4e58d3fba8319e922674c286e92f070e6ec3)
d3c7ba310ceafe05f1115fa5b6770d1329504aae authored about 1 year agoCherry-pick 7.4.4 release notes
6bec880283cd9f6c37a73c522271e8eb5d0ffab7 authored about 1 year agoPrepare release 7.4.4
(cherry picked from commit 18dcd9d38d18fc01bf1f7f5f60db69f785957101)
a1b6b7473b103b6dfa6c2b4bf8d680713d3f6047 authored about 1 year ago[automated] Update plugin list
3701d1218b522d7d76d179536ffbf0f4e8bd8bd6 authored about 1 year agoFix #11710.
d220880924c7ba827ff8b4d68f991fb3e67a1cd0 authored about 1 year agoChange "Marks applied to fixtures" removal from 8 to 9
640f84a5aa914b14d470e5b3c544643fd89be68e authored about 1 year ago460c38915d5bf5b52e8d6f99bb3fb2dc2c861bbb authored about 1 year ago
The deprecation has only been added in 8.0, so can't be removed in 8.
That will have to wait for 9.
Rework Session and Package collection
acd445a3f3c2d573e9918734c99eb58954fbabb6 authored about 1 year ago[automated] Update plugin list
c7ee55993b77315f0031b629a2fb7db17ad5cee1 authored about 1 year ago[pre-commit.ci] pre-commit autoupdate
b9855b244d6ff1da2d3b7df9801a51bf8451e42e authored about 1 year ago
updates:
- [github.com/psf/black: 23.12.0 → 23.12.1](https://github.com/psf/black/compare/23.12....
f93c0fc34eff371ecae3cd82aa362de2edf7be74 authored about 1 year ago
* Fix handling empty values of NO_COLOR and FORCE_COLOR
Fix handling NO_COLOR and FORCE_COLOR...
52db918a27b2eb5043de6e80215076a98b0b9fff authored about 1 year agoSome minor typing tweaks
54a0ee02ea042bb84d9e4c1ece41571affb43059 authored about 1 year ago* Put a 'reset' color in front of the highlighting
When doing the highlighting, some lexers w...
88ae27da085da7d59d34736234b57a280dcc9dfc authored about 1 year ago[automated] Update plugin list
e06a3d02f8287b1be3f42734d125554af7b51005 authored about 1 year ago75f292d9df38827d40d444371428f092e7321c27 authored about 1 year ago
updates:
- [github.com/psf/black: 23.11.0 → 23.12.0](https://github.com/psf/black/compare/23.11...
Remove more unused pprint features
803b190a174eb847962d3f3886e9ac80c6be269f authored about 1 year ago
This is never used, we can remove this. If we wanted instead, we could
always enable it
Let's reduce the API surface for the bundled PrettyPrinter to what we
really need and use
283a746dad7a3d88c35783bd4da595e507b855bd authored about 1 year ago
6aa35f772fd62ad6c5dd9f761974ab44cd224d58 authored about 1 year ago