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

parametrize: allow __name__ id for modules or other objects as well

c22ce1a12cc1ad75d50696321a96bd2f1d9a7e86 authored about 5 years ago
add minimal test case

db82432ec850aed3ee654db131c1cd4879e0cb06 authored about 5 years ago
update AUTHORS list

cc6c5e15b81200bf19c3e398a154d034341b73f6 authored about 5 years ago
_compare_eq_iterable: use AlwaysDispatchingPrettyPrinter

This fixes/removes the previous hack of re-trying with minimum width,
which fails short when it ...

cc503c1821e709376d9a05ee4f6459e4e4f41a0c authored about 5 years ago
add --co option to collect-only (#6116)

add --co option to collect-only

6ad95716dacd8448df7d4d4d3a5f759d32c17418 authored about 5 years ago
Explicitly implement pytest_assertrepr_compare in assertion plu… (#6140)

Explicitly implement pytest_assertrepr_compare in assertion plugin

3b243404e656e646f8f9f873c85c49b86e5803fb authored about 5 years ago
Use atomicrewrites only on Windows (#6148)

09709bba06c9c8564ec7b6cd0dc25bf4a450ecc0 authored about 5 years ago
Update changelog/6148.improvement.rst

Co-Authored-By: Bruno Oliveira <[email protected]>

40626f48e77b2eeedc6b012c199fe49ff377dd3f authored about 5 years ago
on_rm_rf_error: ignore os.open (no warning) (#6074)

on_rm_rf_error: ignore os.open (no warning)

7ed33996f15d006030d45aeda9dda962bd8da6e9 authored about 5 years ago
Explicitly implement pytest_assertrepr_compare in assertion plugin

Previously it was an alias, which makes it unnecessary hard to find
all implementations (either ...

0cf2002a1fcc7eda7d8ff7ff78bb9528098bebe4 authored about 5 years ago
Add --co option to collect-only

Fix #5845

4946cc82825c277754979cf6ea995482e5b1e2d5 authored about 5 years ago
Use atomicrewrites only on Windows

Fixes https://github.com/pytest-dev/pytest/issues/6147

45c4a8fb3d33698704ac17a376de36ada3cabecf authored about 5 years ago
Merge pull request #6141 from bluetech/type-annotations-7

Add type annotations to _pytest.{warning_types,_code.source,pytester}

e670ff76cbad80108bde9bab616b66771b8653cf authored about 5 years ago
tests: use ids (#6145)

19b2f4bb8ac2f981396b5ab1973cceaea3679a2f authored about 5 years ago
_perform_collect: remove comment about untested code (#6144)

f11237b0661aa53f3a5bc3c28330365a0e57012c authored about 5 years ago
Merge pull request #6143 from blueyed/test_source

test_source: do not instantiate Source objects during collection

14eaa05b607c22fc40aeda93ded46b40b8b9ed86 authored about 5 years ago
Add type annotations to _pytest._code.source

At least most of it.

58f2849bf6c46790b2d2f9975b61cf1a9bbd9e92 authored about 5 years ago
Add type annotations to some of _pytest.pytester

265a9eb6a2916a8224d0561c269dc52d59d2ac48 authored about 5 years ago
Add type annotations to _pytest.warning_types

b2537b22d7799d02621a68c1ff4b49adc98693cf authored about 5 years ago
changelog

2adc84ed6c67116ceb8f1fb22c20d943f0bd0c38 authored about 5 years ago
on_rm_rf_error: ignore os.open (no warning)

Ref: https://github.com/pytest-dev/pytest/pull/6044/files#r339321752

8aa0809fbc9a91ec286ca02bd7f0b673e06905de authored about 5 years ago
Fix order of format args with warning

2e5cf1cc789908ab4856c84a99d7d1120f84e694 authored about 5 years ago
saferepr: handle BaseExceptions (#6047)

ab101658f03e29bf69a7252a937b706ee3f75a01 authored about 5 years ago
Merge master into features (#6111)

b268463243a71bcc9e5018e5d3dc9f018539529a authored about 5 years ago
_perform_collect: remove comment about untested code

Harden one test where it is tested.

All tests testing this:

testing/acceptance_test.py:184...

dd852ded705e10c85452fba1458736e71dcb06e0 authored about 5 years ago
test_exc_chain_repr_without_traceback: use ids

dd6cf7c172afbe6a67483e6a5986432f2f5f043f authored about 5 years ago
test_iterable_full_diff: use test ids

5c00226847e41f734b496e3ba7c7fb8ded0f6739 authored about 5 years ago
Fix test_trace_with_parametrize_handles_shared_fixtureinfo for colors

e8a3d1adf2c2688e01e0eaff2110df0d8fc5acd6 authored about 5 years ago
test_source: do not instantiate Source objects during collection

cb21a8db1d0dbbf1284eb0e644a8cd7b8fc837be authored about 5 years ago
Session: collect: keep/use already parsed initialpart (#6120)

0c0d33f78ef626dd9aba9151f9ef13e136805f65 authored about 5 years ago
Session: collect: keep/use already parsed initialpart

Via https://github.com/blueyed/pytest/pull/42.

c4a110b20a8c26c9eec89e8f0e496633dab42c98 authored about 5 years ago
py38: do not call None() directly

Works around:

_____ ERROR collecting testing/io/test_saferepr.py _____
src/_pytest/pyth...

fee7c7b032b5995339375e8cfbaf8f9832aeb512 authored about 5 years ago
saferepr: handle BaseExceptions

This causes INTERNALERRORs with pytest-django, which uses
`pytest.fail` (derived from `BaseExcep...

eb7a4e32ad920b4cdd9c956763535fed194ae8a7 authored about 5 years ago
tests: speed up test_faulthandler.test_timeout (#6075)

5be3a9b5cee3ef73b627049272db5bd2e34f5026 authored about 5 years ago
assert: fix _compare_eq_iterable: re-format both sides (#6137)

fe429d4ce8eaf556930f8739f08eedef209508c9 authored about 5 years ago
Added checklinks to tox and release.py

1cecdf66198049c7ca48356d8349e2f07732764c authored about 5 years ago
Fixed broken links

ceeb7bd0851e87b47bd54c88e3a8d9f04470baad authored about 5 years ago
[RDY] tox: remove platform restriction, only used for pexpect (#6068)

[RDY] tox: remove platform restriction, only used for pexpect

5738d189a4bf8e7af9c0a5f3b656ca2960292982 authored about 5 years ago
fix bug with nonskipped first test in package (#5831)

fix bug with nonskipped first test in package

85288b53218d4e0037dce9c34bd37f86fa9e212d authored about 5 years ago
Making it possible to access the pluginmanager in the pytest_ad… (#6106)

Making it possible to access the pluginmanager in the pytest_addoptio…

74f4ec59869c417b1891f7a97cd184a2093263a7 authored about 5 years ago
Merge pull request #6103 from blueyed/lsof_check

tests: lsof_check: include exc with skip message

8dcee39ce93f36acd2f7daf4482546a6ac9f4041 authored about 5 years ago
Merge master into features

Conflicts:
src/_pytest/debugging.py

4e454724057ceda78790caaace6810194aa22dc4 authored about 5 years ago
Merge pull request #6136 from blueyed/fix-rm_rf-tests

Fix rm_rf tests

92b436c938ae08ef8b579a88d9ace8e807b5927e authored about 5 years ago
Merge pull request #6138 from blueyed/ci-py38

ci: Travis: remove py38 from allowed failures; do not use "-dev"

5f9db8a01721e10162769b96b82794dd069bbaeb authored about 5 years ago
Merge pull request #6100 from blueyed/fix-skip-offset

terminal: fix line offset with skip reports

01769b141a842ba4e7c53d853bb0c7d14c111451 authored about 5 years ago
Merge pull request #6071 from blueyed/tests-doctest-mock

Tests: approx: mock doctest runner's pdb usage

0485b07ff07ad5520418142c7a85b50111403e78 authored about 5 years ago
Merge pull request #6084 from blueyed/merge-rm

tests: merge/remove test_dontreadfrominput_buffer_python3

eb4b3ce1c84fe5919d38e0d58805ca417c8a499d authored about 5 years ago
Merge pull request #6119 from blueyed/FSCollector-fspath

FSCollector: keep/use given fspath

9071a2a5e01a1f2a44af793d3466a3aa9433b8b7 authored about 5 years ago
ci: Travis: remove py38 from allowed failures; do not use "-dev"

957adbbbc741ab903631fdbbffa61170b230e6d9 authored about 5 years ago
assert: fix _compare_eq_iterable: re-format both sides

Follow-up to 946434c61 (#5924).

Before this patch the test would look like this:

{'env': {...

ce3d43100267622edbfcf5786d20bdd23c8e29af authored about 5 years ago
Merge pull request #5926 from AtakamaLLC/optional-multiline

Add log-auto-indent option to control multiline formatting

e7320c6b547750e630ac59d8b40d48be25e779ce authored about 5 years ago
Merge pull request #6107 from MarcoGorelli/color-percentage-indicator

Color percentage indicator

00f67494e5de70ffa4427bf0802a164c5790160d authored about 5 years ago
Fix for Python 3.5 not handling LocalPath

d8096925fac4093deda89bc952e12e46bb9557ab authored about 5 years ago
Use try/finally to ensure chmod is run, filter warning

9309ae299ae94caf66187f98ad500ef6f082d762 authored about 5 years ago
Revert "tests: filterwarnings: do not crash with "(rm_rf)" warning"

This reverts commit 6b2bae9392f4fdbf295fbca8082e58f280c90aac.

dc2c51302ab06f9f643944fee788839de8d26b33 authored about 5 years ago
tests: clean up chmod-related tests to fix rm_rf warnings

Fixed https://github.com/pytest-dev/pytest/issues/5974#issuecomment-549822509.

262ed567d065cf2455f988a60def75133a711345 authored about 5 years ago
Merge pull request #6129 from blueyed/typing

Typing around Node.location, reportinfo, repr_excinfo etc

0794289689a3079625d8c6fd839968075b852e13 authored about 5 years ago
Merge pull request #6124 from blueyed/test_group_warnings_by_message-ignore-own-warning

test_group_warnings_by_message: ignore own PytestExperimentalApiWarning

cab29dc861ce4d28cc3a33e70bd6cb5c5bbea801 authored about 5 years ago
typing around Node.location, reportinfo, repr_excinfo etc

741f0fedd1d8661ed671fdc7a1091dd42203a56f authored about 5 years ago
Merge pull request #6134 from zmhassan/small_bug1

Removing variable being reassigned

990d75b7e6bae670a9de292b69118e0b64da6171 authored about 5 years ago
Removing variable being reassigned

f9e3a5395c9cbabcfd7d548afb7bff8f9310f229 authored about 5 years ago
Color percentage indicator according to color of final line

indicate current outcome/status with color of percentage indicator

Fix type annotation, refacto...

0d79061432639308ecf3e3c2e838080567c84e20 authored about 5 years ago
update chanelog link to moved pip docs page (#6127)

update chanelog link to moved pip docs page

0760406480495ceaf54755bdeed08e47570ffa2f authored about 5 years ago
Merge pull request #6125 from blueyed/upstream-test_terminal-fulltrace

test_terminal: reduce number of tests (single --fulltrace param)

d53794f9162affedd107089f374a2262b9cd80a0 authored about 5 years ago
update chanelog link to moved pip docs page

14580c7e313bded588fefe0476c70bc6f0824e87 authored about 5 years ago
Merge pull request #6122 from bluetech/type-annotations-6

Add type annotations to _pytest._io.saferepr and _pytest.assertion.util._diff_text

08c25b7fe0aab6f4d12c55a21031c4c22e7a57ac authored about 5 years ago
test_terminal: reduce number of tests (single --fulltrace param)

Remove the `--fulltrace` arg from the `Option` fixture used in several
tests, but not checked fo...

9f800b2a77e60637ad8ece1c62c3c4352e70d410 authored about 5 years ago
test_group_warnings_by_message: ignore own PytestExperimentalApiWarning

68dbc24dcbb6e2bf1aa03289caff112786eb92d2 authored about 5 years ago
Add type annotations to _pytest._io.saferepr

dc30d78845970afd3089d4ff79b2df0eb86af156 authored about 5 years ago
Add type annotations to _pytest.assertion.util

7d3ce374d28d7eadd85c59ed1e59319556e61635 authored about 5 years ago
Remove dead code in _pytest.assertion.util._diff_text

The function handles bytes input, however that is never used.
The function has two callers:

1)
...

18d181fa7776ced81249e18805c91c53c739834c authored about 5 years ago
Fix error in newly introduced test_collecterror

Via https://github.com/pytest-dev/pytest/pull/6107.

(cherry picked from commit 1b9fbbfa195aa20c...

9303de877aefc5304522b2e2522c314e0616040c authored about 5 years ago
Merge pull request #6059 from blueyed/collect-error-short-summary

terminal: report collection errors as "ERROR" in short summary

3fb969897a012c5acf481126e95d6d2d282108aa authored about 5 years ago
Merge pull request #6067 from blueyed/harden-test

tests: harden test_disabled_capture_fixture

6df4d07a57cf3dd6486e7ea23c3eeda6ace3ca89 authored about 5 years ago
Change 5924 and 5936 changelog entries to improvement (#6065)

Change 5924 and 5936 changelog entries to improvement

0947ecd6f0528a9e8fe382b7771b3525c6d723b9 authored about 5 years ago
FSCollector: keep/use given fspath

Via https://github.com/blueyed/pytest/pull/42.

0c7c26fe6e7a9d53e080b3214898651042c6dbee authored over 5 years ago
Merge pull request #6112 from gaucheph/fix-small-typo

typos

35800a2f73c4233285a4a8f403ca94bc9c6e998e authored over 5 years ago
typos

abc890079f92c116e30bf197c46c427a850ecdec authored over 5 years ago
Merge pull request #6099 from davidszotten/trace_parametrize

Fix --trace for parametrized tests

dc5a4fbe2303fb97b962095610368f73c7bc66e2 authored over 5 years ago
Fix --trace for parametrized tests

Without this, the second time it tries to stop in a parametrized
function it raises instead:

`V...

285524c6cdde61fde3d9b4f250b4fa9bbb46e932 authored over 5 years ago
Merge pull request #6032 from blueyed/ci-branches

ci: Travis: configure/restrict branch builds

7f851a215b8925da494bd29014006ec2979c3613 authored over 5 years ago
Removing pluginmanager as parameter in definition of pytest_addoption hook

f4008042069b64111c4ad4ab047029a5e77f01ea authored over 5 years ago
Removing :py:func: and :ref: from changelog as it's not supported by towncrier

0027908e9e5d23f9967e5f5465e0dda1b45046e6 authored over 5 years ago
Making it possible to access the pluginmanager in the pytest_addoption hook

7a96d94fd4f98f725ce04f7ac45de041b521b86d authored over 5 years ago
Introduce --report-log (#5980)

Introduce --report-log

34068572848c166f499a1ed7671972688560c97a authored over 5 years ago
Introduce --report-log option

Fix #4488

b99661b9d77fbbc9ecb70d48a61a2a88eb0cd055 authored over 5 years ago
Remove 'experimental' status from report serialization hooks

09096f74368a45b0d23181f3120cfe78aef9363f authored over 5 years ago
lsof_check: include exc with skip message

8c21416798af488da173b2b1c98b5435c0865660 authored over 5 years ago
terminal: fix line offset with skip reports

The original fix in https://github.com/pytest-dev/pytest/pull/2548 was
wrong, and was likely mea...

6d2cabae5752d7bf8e7f5b1b1c43ee41ec1ac067 authored over 5 years ago
Merge pull request #6077 from blueyed/ci-remove-single-py37-pexpect

ci: Travis: include pexpect in main py37 job

0225cb37c02b6760c8b1d0efcf3728f669bbfe17 authored over 5 years ago
Merge pull request #5990 from MarcoGorelli/plurality-matching

Plurality matching

cdc53da19c586e62fc17900c77165fcb1592257c authored over 5 years ago
Merge pull request #6093 from blueyed/fix-flaky

tests: fix testing/test_capture.py::test_typeerror_encodedfile_write

e7898dedf40c294faceee25963183c61c745e976 authored over 5 years ago
Merge pull request #6076 from blueyed/runpytest_subprocess-slowest

tests: conftest: handle tests using runpytest_subprocess as "slowest"

6d33f4cdce6db22a00810736fb4028a6c7eab2fa authored over 5 years ago
tests: fix testing/test_capture.py::test_typeerror_encodedfile_write

Failed for me due to different indent (?) - not reproducible:

> ???
E Failed: nomat...

60ceec6eb180ba1ac76741edf82804ed9ae8baf2 authored over 5 years ago
Merge pull request #6066 from bluetech/type-annotations-paths

Add type annotations to _pytest.pathlib and _pytest.tmpdir

7f8bf4d9f6de201ace76162c62217a8f72661b40 authored over 5 years ago
tests: speed up test_faulthandler.test_timeout

a4554e666af4d62500bec2bae393fc9e67e2d4d8 authored over 5 years ago
tests: conftest: handle tests using runpytest_subprocess as "slowest"

d6e324a5e640382bcfcf6b2abeb024577edc01c3 authored over 5 years ago
ci: Travis: include pexpect in main py37 job

This removes xdist there (not compatible with the pexpect tests), but it
is better to have one j...

023dde89e1ec561f31e8c37162984803b589e4e6 authored over 5 years ago
tests: lazily import doctest in approx tests

a5bd19e3b406f45ffaadf7e1d257b90f11e5931f authored over 5 years ago
tests: mock doctest.DocTestRunner to not use real pdb

It is not used there anyway, and might cause false positives.

32412532ef58fbaf7a43a766e20fbf94da21feee authored over 5 years ago