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
c22ce1a12cc1ad75d50696321a96bd2f1d9a7e86 authored about 5 years ago
db82432ec850aed3ee654db131c1cd4879e0cb06 authored about 5 years ago
cc6c5e15b81200bf19c3e398a154d034341b73f6 authored about 5 years ago
This fixes/removes the previous hack of re-trying with minimum width,
which fails short when it ...
add --co option to collect-only
6ad95716dacd8448df7d4d4d3a5f759d32c17418 authored about 5 years agoExplicitly implement pytest_assertrepr_compare in assertion plugin
3b243404e656e646f8f9f873c85c49b86e5803fb authored about 5 years ago09709bba06c9c8564ec7b6cd0dc25bf4a450ecc0 authored about 5 years ago
Co-Authored-By: Bruno Oliveira <[email protected]>
40626f48e77b2eeedc6b012c199fe49ff377dd3f authored about 5 years agoon_rm_rf_error: ignore os.open (no warning)
7ed33996f15d006030d45aeda9dda962bd8da6e9 authored about 5 years ago
Previously it was an alias, which makes it unnecessary hard to find
all implementations (either ...
Fix #5845
4946cc82825c277754979cf6ea995482e5b1e2d5 authored about 5 years agoFixes https://github.com/pytest-dev/pytest/issues/6147
45c4a8fb3d33698704ac17a376de36ada3cabecf authored about 5 years agoAdd type annotations to _pytest.{warning_types,_code.source,pytester}
e670ff76cbad80108bde9bab616b66771b8653cf authored about 5 years ago19b2f4bb8ac2f981396b5ab1973cceaea3679a2f authored about 5 years ago
f11237b0661aa53f3a5bc3c28330365a0e57012c authored about 5 years ago
test_source: do not instantiate Source objects during collection
14eaa05b607c22fc40aeda93ded46b40b8b9ed86 authored about 5 years agoAt least most of it.
58f2849bf6c46790b2d2f9975b61cf1a9bbd9e92 authored about 5 years ago265a9eb6a2916a8224d0561c269dc52d59d2ac48 authored about 5 years ago
b2537b22d7799d02621a68c1ff4b49adc98693cf authored about 5 years ago
2adc84ed6c67116ceb8f1fb22c20d943f0bd0c38 authored about 5 years ago
Ref: https://github.com/pytest-dev/pytest/pull/6044/files#r339321752
8aa0809fbc9a91ec286ca02bd7f0b673e06905de authored about 5 years ago2e5cf1cc789908ab4856c84a99d7d1120f84e694 authored about 5 years ago
ab101658f03e29bf69a7252a937b706ee3f75a01 authored about 5 years ago
b268463243a71bcc9e5018e5d3dc9f018539529a authored about 5 years ago
Harden one test where it is tested.
All tests testing this:
testing/acceptance_test.py:184...
dd852ded705e10c85452fba1458736e71dcb06e0 authored about 5 years agodd6cf7c172afbe6a67483e6a5986432f2f5f043f authored about 5 years ago
5c00226847e41f734b496e3ba7c7fb8ded0f6739 authored about 5 years ago
e8a3d1adf2c2688e01e0eaff2110df0d8fc5acd6 authored about 5 years ago
cb21a8db1d0dbbf1284eb0e644a8cd7b8fc837be authored about 5 years ago
0c0d33f78ef626dd9aba9151f9ef13e136805f65 authored about 5 years ago
Via https://github.com/blueyed/pytest/pull/42.
c4a110b20a8c26c9eec89e8f0e496633dab42c98 authored about 5 years agoWorks around:
_____ ERROR collecting testing/io/test_saferepr.py _____
src/_pytest/pyth...
This causes INTERNALERRORs with pytest-django, which uses
`pytest.fail` (derived from `BaseExcep...
5be3a9b5cee3ef73b627049272db5bd2e34f5026 authored about 5 years ago
fe429d4ce8eaf556930f8739f08eedef209508c9 authored about 5 years ago
1cecdf66198049c7ca48356d8349e2f07732764c authored about 5 years ago
ceeb7bd0851e87b47bd54c88e3a8d9f04470baad authored about 5 years ago
[RDY] tox: remove platform restriction, only used for pexpect
5738d189a4bf8e7af9c0a5f3b656ca2960292982 authored about 5 years agofix bug with nonskipped first test in package
85288b53218d4e0037dce9c34bd37f86fa9e212d authored about 5 years agoMaking it possible to access the pluginmanager in the pytest_addoptio…
74f4ec59869c417b1891f7a97cd184a2093263a7 authored about 5 years agotests: lsof_check: include exc with skip message
8dcee39ce93f36acd2f7daf4482546a6ac9f4041 authored about 5 years ago
Conflicts:
src/_pytest/debugging.py
Fix rm_rf tests
92b436c938ae08ef8b579a88d9ace8e807b5927e authored about 5 years agoci: Travis: remove py38 from allowed failures; do not use "-dev"
5f9db8a01721e10162769b96b82794dd069bbaeb authored about 5 years agoterminal: fix line offset with skip reports
01769b141a842ba4e7c53d853bb0c7d14c111451 authored about 5 years agoTests: approx: mock doctest runner's pdb usage
0485b07ff07ad5520418142c7a85b50111403e78 authored about 5 years agotests: merge/remove test_dontreadfrominput_buffer_python3
eb4b3ce1c84fe5919d38e0d58805ca417c8a499d authored about 5 years agoFSCollector: keep/use given fspath
9071a2a5e01a1f2a44af793d3466a3aa9433b8b7 authored about 5 years ago957adbbbc741ab903631fdbbffa61170b230e6d9 authored about 5 years ago
Follow-up to 946434c61 (#5924).
Before this patch the test would look like this:
{'env': {...
ce3d43100267622edbfcf5786d20bdd23c8e29af authored about 5 years agoAdd log-auto-indent option to control multiline formatting
e7320c6b547750e630ac59d8b40d48be25e779ce authored about 5 years agoColor percentage indicator
00f67494e5de70ffa4427bf0802a164c5790160d authored about 5 years agod8096925fac4093deda89bc952e12e46bb9557ab authored about 5 years ago
9309ae299ae94caf66187f98ad500ef6f082d762 authored about 5 years ago
This reverts commit 6b2bae9392f4fdbf295fbca8082e58f280c90aac.
dc2c51302ab06f9f643944fee788839de8d26b33 authored about 5 years agoFixed https://github.com/pytest-dev/pytest/issues/5974#issuecomment-549822509.
262ed567d065cf2455f988a60def75133a711345 authored about 5 years agoTyping around Node.location, reportinfo, repr_excinfo etc
0794289689a3079625d8c6fd839968075b852e13 authored about 5 years agotest_group_warnings_by_message: ignore own PytestExperimentalApiWarning
cab29dc861ce4d28cc3a33e70bd6cb5c5bbea801 authored about 5 years ago741f0fedd1d8661ed671fdc7a1091dd42203a56f authored about 5 years ago
Removing variable being reassigned
990d75b7e6bae670a9de292b69118e0b64da6171 authored about 5 years agof9e3a5395c9cbabcfd7d548afb7bff8f9310f229 authored about 5 years ago
indicate current outcome/status with color of percentage indicator
Fix type annotation, refacto...
0d79061432639308ecf3e3c2e838080567c84e20 authored about 5 years agoupdate chanelog link to moved pip docs page
0760406480495ceaf54755bdeed08e47570ffa2f authored about 5 years agotest_terminal: reduce number of tests (single --fulltrace param)
d53794f9162affedd107089f374a2262b9cd80a0 authored about 5 years ago14580c7e313bded588fefe0476c70bc6f0824e87 authored about 5 years ago
Add type annotations to _pytest._io.saferepr and _pytest.assertion.util._diff_text
08c25b7fe0aab6f4d12c55a21031c4c22e7a57ac authored about 5 years ago
Remove the `--fulltrace` arg from the `Option` fixture used in several
tests, but not checked fo...
68dbc24dcbb6e2bf1aa03289caff112786eb92d2 authored about 5 years ago
dc30d78845970afd3089d4ff79b2df0eb86af156 authored about 5 years ago
7d3ce374d28d7eadd85c59ed1e59319556e61635 authored about 5 years ago
The function handles bytes input, however that is never used.
The function has two callers:
1)
...
Via https://github.com/pytest-dev/pytest/pull/6107.
(cherry picked from commit 1b9fbbfa195aa20c...
9303de877aefc5304522b2e2522c314e0616040c authored about 5 years agoterminal: report collection errors as "ERROR" in short summary
3fb969897a012c5acf481126e95d6d2d282108aa authored about 5 years agotests: harden test_disabled_capture_fixture
6df4d07a57cf3dd6486e7ea23c3eeda6ace3ca89 authored about 5 years agoChange 5924 and 5936 changelog entries to improvement
0947ecd6f0528a9e8fe382b7771b3525c6d723b9 authored about 5 years agoVia https://github.com/blueyed/pytest/pull/42.
0c7c26fe6e7a9d53e080b3214898651042c6dbee authored over 5 years agotypos
35800a2f73c4233285a4a8f403ca94bc9c6e998e authored over 5 years agoabc890079f92c116e30bf197c46c427a850ecdec authored over 5 years ago
Fix --trace for parametrized tests
dc5a4fbe2303fb97b962095610368f73c7bc66e2 authored over 5 years ago
Without this, the second time it tries to stop in a parametrized
function it raises instead:
`V...
285524c6cdde61fde3d9b4f250b4fa9bbb46e932 authored over 5 years agoci: Travis: configure/restrict branch builds
7f851a215b8925da494bd29014006ec2979c3613 authored over 5 years agof4008042069b64111c4ad4ab047029a5e77f01ea authored over 5 years ago
0027908e9e5d23f9967e5f5465e0dda1b45046e6 authored over 5 years ago
7a96d94fd4f98f725ce04f7ac45de041b521b86d authored over 5 years ago
Introduce --report-log
34068572848c166f499a1ed7671972688560c97a authored over 5 years agoFix #4488
b99661b9d77fbbc9ecb70d48a61a2a88eb0cd055 authored over 5 years ago09096f74368a45b0d23181f3120cfe78aef9363f authored over 5 years ago
8c21416798af488da173b2b1c98b5435c0865660 authored over 5 years ago
The original fix in https://github.com/pytest-dev/pytest/pull/2548 was
wrong, and was likely mea...
ci: Travis: include pexpect in main py37 job
0225cb37c02b6760c8b1d0efcf3728f669bbfe17 authored over 5 years agoPlurality matching
cdc53da19c586e62fc17900c77165fcb1592257c authored over 5 years agotests: fix testing/test_capture.py::test_typeerror_encodedfile_write
e7898dedf40c294faceee25963183c61c745e976 authored over 5 years agotests: conftest: handle tests using runpytest_subprocess as "slowest"
6d33f4cdce6db22a00810736fb4028a6c7eab2fa authored over 5 years agoFailed for me due to different indent (?) - not reproducible:
> ???
E Failed: nomat...
Add type annotations to _pytest.pathlib and _pytest.tmpdir
7f8bf4d9f6de201ace76162c62217a8f72661b40 authored over 5 years agoa4554e666af4d62500bec2bae393fc9e67e2d4d8 authored over 5 years ago
d6e324a5e640382bcfcf6b2abeb024577edc01c3 authored over 5 years ago
This removes xdist there (not compatible with the pexpect tests), but it
is better to have one j...
a5bd19e3b406f45ffaadf7e1d257b90f11e5931f authored over 5 years ago
It is not used there anyway, and might cause false positives.
32412532ef58fbaf7a43a766e20fbf94da21feee authored over 5 years ago