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
Fix incorrect result of getmodpath method.
eeeb19626b26072ff49735e221dc558363716b78 authored about 5 years agoFix --setup-plan fixture lifetimes
bebd80456b4a9865c88c5341ed21cf7ecfee9aa4 authored about 5 years agof38f2d402e183130222993f501d92eefe0d398dc authored about 5 years ago
`tox -vv` is too verbose, and was only used as a hack to get the output
of durations.
As for in...
f9feef6808c250b0c98d7d35580e3fad75d17439 authored about 5 years agoRemove report_log in favor of pytest-reportlog
89eeefbbafaccbee48d8c8501cf9b9318946f491 authored about 5 years agoed5f191da23d73713b89f81d13e592aa12d826bf authored about 5 years ago
b4ff6b36727cdaa64e0f6d524d290eddd0593e72 authored about 5 years ago
Done initially in 99015bfc8.
2ad2fbc9a222f3ab2cab5379972c40d3f5ad2db1 authored about 5 years ago
This allows for checking files inside of "testing" without having
"src/…" as an argument also.
64d89105166264ad5169869bae8b945f542e7fb4 authored about 5 years ago
b412661de9fca2ed51d30eb29a3c0606bb10a868 authored about 5 years ago
5d5f48097922dae26da06a12482a7a74de7ba924 authored about 5 years ago
This makes it easier to read `pytest_generate_tests`.
91dec8e2bf5e4e9c43b040a8b2f286c8275f8141 authored about 5 years agoForgotten in 40b85d7ee.
f3a10245d0cfbad21c8c49d1ce7227afbcb0d716 authored about 5 years ago426a4cdca901606d3ffd716c063e394cec964f9f authored about 5 years ago
46ffdf0e3a98bbb6ecb2393ee706ed8250f56ade authored about 5 years ago
1e3be8ada4585ba279cfc24be8c3b09b25213804 authored about 5 years ago
6dfd683a0c34535c79b6baccdc60d301c64b4f76 authored about 5 years ago
9e759010d9e9bf6ff10766c54f37bdb6ce1266c2 authored about 5 years ago
Merge master into features
a2d48332fc767b06d024c7988a7a29d221d83ec4 authored about 5 years agobac6eebfff8f1cd21736dbf0d367bf4ca97da0d9 authored about 5 years ago
Add type annotations to _pytest.compat and _pytest._code.code
fa578d7329593ceb9405189aac1de23b6354c2dd authored about 5 years ago1b4623a6d16a17d228deda23d4242d944dff2397 authored about 5 years ago
b9a3ba1fe8a02b5093ad72785ab5d908e18e228c authored about 5 years ago
eaa34a9df0fa341c1b21bd3b232928812e6e8a06 authored about 5 years ago
e3796047c1b09f58d14ee60d669b1258479d3c76 authored about 5 years ago
54a954514b5a02b4858707ef653a1a204cd05509 authored about 5 years ago
b1a597ab0292a1360a750f7df8cd9bf498e2cd72 authored about 5 years ago
This brings https://github.com/psf/black/pull/826, which helps with
https://github.com/psf/black...
4b7148f9a4a48a41ebc745902d486efe23663dff authored about 5 years ago
``json.dump`` is slower since it iterates over chunks [1].
For 100 ``cache.set`` calls this sav...
786d839db1e584e33f2f0543b6c16cdfeefe11ee authored about 5 years ago562d4811d59e495bdfd3123a7f725d55462769ec authored about 5 years ago
Source was previously iterable because it implements `__getitem__()`,
which is apparently a thin...
The previous test was better in that it used fakes to test all of the
real code paths. The probl...
It doesn't help much IMO, just adds indirection and makes it harder to
type.
5bfe793fd5455c04049c4a564d1a6dc666cc647a authored about 5 years ago
pytest doesn't support these PyPy versions anymore, so no need to have
checks for them.
04d68fbc9e53ff01962ed5da8686ced276425c95 authored about 5 years ago
Add some Python 3.8 type: ignores; all are already fixed in the next
mypy release, so can be rem...
changelog: #3985 also introduce `tmp_path_factory`
f24f20a46e0efd8b375ab3457e9f6864e59979e5 authored about 5 years agob090ac62048990cc4d54dab841e81a8921b97284 authored about 5 years ago
9c681b45e39a144f8c80abbd66eb4db0e185a238 authored about 5 years ago
329f56ecec5a9fcbfa160d4b467342a7c19ef2c0 authored about 5 years ago
cc78444c30ba7930358cd0bd3cfac9ba52cb579f authored about 5 years ago
Preparing release version 5.2.4
3a668ea6ff24b0c8f00498c3144c63bac561d925 authored about 5 years agoc49c61fdafdce50ffefd3ad482e3bd6f58ef298e authored about 5 years ago
Setting PYTHONDONTWRITEBYTECODE in the environment does not change it
for the current process.
c9a96cdee8ee7c1a9ead49b355fab9aef73196fe authored about 5 years ago
This is important for `isinstance` checks etc.
5979837c6084e80367ce4f7e1b97aabd755221b0 authored about 5 years agoFix incorrect discovery of non-test `__init__.py` files.
19a15a94eeb403631f847fab5fe5073bc56e8bcc authored about 5 years ago4e0f99260d438d750b55a0881110658b8bba5a4a authored about 5 years ago
This reverts commit 85288b53218d4e0037dce9c34bd37f86fa9e212d, reversing
changes made to 5f9db8a0...
Fix #6180
d2ea9e2db58dfb6c5a3c2981bfd062369e51fbf3 authored about 5 years agoPreparing release version 5.2.3
e856638ba086fcf5bebf1bebea32d5cf78de87b4 authored about 5 years agoIssue a warning to prepare change of 'junit_family' default value
99f487864caf2a4a1d75a3d322304e7b3b03d01b authored about 5 years agodd9a27cf543c39f91039ecd7aa6aa595b3e79330 authored about 5 years ago
d4e4ab5b3d8bd8fd51430536808bfa3a0805689d authored about 5 years ago
Update advice about _called_from_test.
e2a0987156c7b95b27f454d3b8710fd36aa13758 authored about 5 years ago
Instead of giving an example of using sys and then, at the end,
advising not to use sys, just gi...
5e8c47faad91ccf49897a290efd62bcac1971ff7 authored about 5 years ago
48ec7d28c6485da6dc220cd9a5acdbcfc6615ff1 authored about 5 years ago
350c27c8b441ea73a3c5bf45500659da364f090c authored about 5 years ago
Minor fixes
2fc7d04fc380e0ee6f43538504ec36c896688c47 authored about 5 years agoShow a better message when 'request' is used in parametrize
92d6a0500b9f528a9adcd6bbcda46ebf9b6baf03 authored about 5 years agoFix #6183
6f2c0fd2e8e8154c8129900c9a1c650068811404 authored about 5 years agoFix #6179
2a67637accc9b5f25b4d3fda3b99ad37cfcab18b authored about 5 years agoCan be -2, or py.path.local (not typed).
772dfc4f9d610ebd735be48fd1c0924384c94e04 authored about 5 years agob3bb60468331d49ff3eaa3241adb9fa070c90d19 authored about 5 years ago
55bc084dcc783bda88a221a5437a515df3e7b2ae authored about 5 years ago
pytester: Hookrecorder: improve assertoutcome
f91bf48a40da5ee7f7c2a3c71ee56d854d35e983 authored about 5 years agoterminal: report ``session.shouldfail`` reason (``-x``)
a6e10cc2e3f3c9e400d9a03417d1186eee052730 authored about 5 years agotests: remove test_nested_marks (xfail)
c232366f2ff17d72b3baee53c0260da2459a9702 authored about 5 years agoVia https://github.com/blueyed/pytest/pull/108.
b06f33f4748ee1bf928c01b4e12d5506a4e05870 authored about 5 years agoBefore:
def assertoutcome(self, passed: int = 0, skipped: int = 0, failed: int = 0) -> ...
6ddf7c3d42efcf01c8641893e7331f9e33e6877d authored about 5 years agoe2022a6d488bc809f30118a58df50525dd345c7e authored about 5 years ago
Delineate syntactically that the 'match' argument to 'raises' is keyword-only
55a58bcd3d15887610e1303f4076401bd16ba742 authored about 5 years ago0b40749c9826d67ff44044608778d6ccd763e95a authored about 5 years ago
Otherwise 'normal' failures won't call teardown explicitly
59369651dbe6a3bac420e16dcded9ad095b1680b authored about 5 years agofilterwarnings: ignore DeprecationWarning from nose
1b84f099b6229a0bec181f4e7907327c197cb18c authored about 5 years ago
- Isolate logic for getting expected exceptions
- Use original method name, as users see it when...
setup.cfg: fix check-manifest ignore [ci skip]
adccb63de01965ff873038fa2b1bacfa7dbaf049 authored about 5 years ago86e9ae39f0ff0f16179d3e1d25674445432cfaef authored about 5 years ago
dad4985be1fde2fc2bdc83ae65034c43f3ce42aa authored about 5 years ago
It currently fails with a TypeError, and was not updated since 2013 -
therefore it can be assume...
This comes via hypothesis:
```
% COLUMNS=80 p testing/python/metafunc.py::TestMetafunc::test_id...
Add a @cached_property implementation
b352e34938726e13fd8b0e5d5912535e29e6592c authored about 5 years ago3ef8aa8173eb10c5a57fd38b4df7d3ba959e8b5f authored about 5 years ago
abcedd6095054aa66aa4a5271959da0866c52266 authored about 5 years ago
This is a useful utility to abstract the caching property idiom.
It is in compat.py since event...
42a46ea78617b8e210636bc2f9d9bf06435b60fa authored about 5 years ago
Fixes https://github.com/pytest-dev/pytest/issues/5991
Fixes https://github.com/pytest-dev/pytes...
710e3c40e0e613a06eef62f58b3f7db9761ee868 authored about 5 years ago
0bbc032db0969efa42d35aa74a5a523bd977538d authored about 5 years ago
96c315e4393c67ae97911398b3f7df1b48ea02b6 authored about 5 years ago
28edbaace4b5ebad5875d65eb518c29f495212e5 authored about 5 years ago
41604eeb3e70c35103b5260b20419a817a0fe6ac authored over 5 years ago
use __name__ attribute in the parametrize id for modules as well
245e1f10e587931ce03ac414bc7230be76520f40 authored over 5 years agoc16b121594fae69a1fb63dc8dff54332fec2b0a2 authored over 5 years ago
Two minor tweaks in MarkDecorator's implementation
04891048e18b046037627caf4b5a2665a40b5f02 authored over 5 years ago
It is a little too obscure IMO, but the reason I want to drop it is that
type checking has no ho...
This is already covered by attrs.
Also, the custom implementation returns False when the types ...
984d90a811afc344518e64f8e8c8f300c69b8aaf authored over 5 years ago