Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/python-trio/pytest-trio

Pytest plugin for trio
https://github.com/python-trio/pytest-trio

Fix a few missed .assert_outcomes(errors=)

Given they are failed not failures, shouldn't these have been erred or errored not errors? Oh w...

a8ee6daa4afa6cd28ea37b7fdd001f4462844a40 authored over 4 years ago by Kyle Altendorf <[email protected]>
Merge pull request #101 from altendky/slight_wording_fixup

0ffd1ea35925b2156d9fc3384ac9c0b2162fadc0 authored over 4 years ago by Quentin Pradet <[email protected]>
Merge branch 'master' into slight_wording_fixup

8e57be8f52efc86e37dfef919bf35b3e33de40bf authored over 4 years ago by Quentin Pradet <[email protected]>
Merge pull request #100 from altendky/update_docs_to_match_better_pytest_async_error

2d706a5e797ff5a9b9c1a005097a7c00943888ad authored over 4 years ago by Quentin Pradet <[email protected]>
Remove extraneous "figure out"

Or was it the "know"...

4d1176fbc8b7a3835912fdefbbbe9e3bd39b9899 authored over 4 years ago by Kyle Altendorf <[email protected]>
a warning

38da6a827a6b272b9329d76ef445205f268881c3 authored over 4 years ago by Kyle Altendorf <[email protected]>
expound

a16195eb207d35d9d8db59a1d123307c01df3862 authored over 4 years ago by Kyle Altendorf <[email protected]>
Update quickstart for raw pytest async def behavior

1993ad7ca10ee602c8154d211cf2c65433d03fff authored over 4 years ago by Kyle Altendorf <[email protected]>
Merge pull request #98 from altendky/python_requires_3.6

Update python_requires to >= 3.6

8599a2999f0cc6416408d160a7b0559f90e0676b authored over 4 years ago by Nathaniel J. Smith <[email protected]>
Merge branch 'master' into python_requires_3.6

1ca48fa8f19c60b64497c8f27b51dfc8583a8d4b authored over 4 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #99 from altendky/update_for_pytest_6.0

Update .assert_outcomes() calls for pytest 6.0

b05c806fbc81504a4e9a1ef161ef3281ef637d97 authored over 4 years ago by Nathaniel J. Smith <[email protected]>
Update .assert_outcomes() calls for pytest 6.0

https://github.com/python-trio/pytest-trio/pull/98#issuecomment-678699693

bfef85c948cfe6bf19c78baa2d497caf7b56d81a authored over 4 years ago by Kyle Altendorf <[email protected]>
Update python_requires to >= 3.6

Trio >= 0.15.0 is required and that in turn requires Python >= 3.6

b519b0f5fd4eddbc6e5bb543db8c904557cc8ac3 authored over 4 years ago by Kyle Altendorf <[email protected]>
Merge pull request #96 from pquentin/py35-compat

Remove Python 3.5 support

cb90c329a621e57e1243c2747fe6406866f0d80b authored over 4 years ago by Nathaniel J. Smith <[email protected]>
yapf

651e55884aed362fd876b9aa134c02f66d390798 authored over 4 years ago by Quentin Pradet <[email protected]>
Remove Python 3.5 support

45c4aa9fa8c78d49b63a25e9e74a183919dae5f0 authored over 4 years ago by Quentin Pradet <[email protected]>
Merge pull request #95 from oremanj/release-v0.6.0

Release v0.6.0

1a1161e63b6e94795876d51588d792c12dd0d696 authored over 4 years ago by Quentin Pradet <[email protected]>
Bump version to 0.6.0+dev post release

eb4673f356d008d670d0f4842b572ed2b08b474a authored over 4 years ago by Joshua Oreman <[email protected]>
Bump version and run towncrier for 0.6.0 release

8a719e611fa1f6d3facfb718192bc51fe55a2482 authored over 4 years ago by Joshua Oreman <[email protected]>
Merge pull request #92 from pquentin/remove-pytest-warnings

Remove pytest warnings and fix CI

10de71f8c51d5e4cb393d892fadb43c1b2378128 authored over 4 years ago by Joshua Oreman <[email protected]>
Attempt to fix coverage

6dfb7684c0fb961bae6b99e566fee27097c5b1d8 authored over 4 years ago by Joshua Oreman <[email protected]>
Remove trio-asyncio test

4f12e750dc019a6d6156b003a03f5642424b4dfb authored over 4 years ago by Joshua Oreman <[email protected]>
Fix compatibility with Trio 0.15.0

9572aaff6010aad79280950392d56155949203d5 authored over 4 years ago by Quentin Pradet <[email protected]>
Stop testing Python 3.5

43668c26430d66b4f8dfc7ac6a5aeb0a03fb860d authored over 4 years ago by Quentin Pradet <[email protected]>
ci: bump tested Python versions

f14615e7b986fc602c6a66f18dca6f0bae061b1f authored almost 5 years ago by Quentin Pradet <[email protected]>
Remove RemovedInPytest4Warning resolved in latest pytest

Resolved with issues: https://github.com/pytest-dev/pytest/issues/4039

75f1a0dc79a1a40b8e9d22cfb925542cc4d8a446 authored almost 5 years ago by Chris Ostrouchov <[email protected]>
fix assert in magic autojump clock

b839d97f444d9b446e633f8bbb71dbb21f92ec1d authored about 5 years ago by Andrei Pozolotin <[email protected]>
Merge pull request #83 from njsmith/fixture-yield-is-checkpoint

Rework handling of cancelled 'yield' in fixtures

23fc351aa0107986df5106478fb1da7eb1f5b113 authored over 5 years ago by John Belmonte <[email protected]>
Fix py35 compat

0e30148f704b805ccc2b3429892efebca0d912d0 authored over 5 years ago by Nathaniel J. Smith <[email protected]>
yapf

95cb0d33262fd2f9a376c71ef9b671e8bc722e94 authored over 5 years ago by Nathaniel J. Smith <[email protected]>
Update newsfragment

00eac210098058ba5fba57cdde9a76d3a25b10bc authored over 5 years ago by Nathaniel J. Smith <[email protected]>
If a fixture cancels the test, that's always a failure

Even if it doesn't raise an exception afterwards.

44a3ab34b16873aeb3b99d1e9e6d29ef2ae09574 authored over 5 years ago by Nathaniel J. Smith <[email protected]>
In Trio fixtures, 'yield' now acts as a checkpoint.

0a0296602ccbc1c99e9a4151be99df375ae94d13 authored over 5 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #81 from njsmith/release-0.5.2

Bump version to 0.5.2

68dad9c085dd6b78bb5345900de02ce902784c57 authored almost 6 years ago by Nathaniel J. Smith <[email protected]>
bump version to 0.5.2+dev

550146b099ccecbae9c16218c709866a38d02ee2 authored almost 6 years ago by Nathaniel J. Smith <[email protected]>
Bump version to 0.5.2

961c59db3db41c2368de09284855241e28ff540f authored almost 6 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #73 from Zac-HD/hypothesis-determinism

Deterministic scheduling via Hypothesis

f20addec069255e45c0bfdcd01a41aeaf82a16d0 authored almost 6 years ago by Quentin Pradet <[email protected]>
Require trio >= 0.11

To support determinism under Hypothesis.

414ec148d20bcde019954738905c8beb8619f520 authored almost 6 years ago by Zac Hatfield-Dodds <[email protected]>
Final Trio api for deterministic scheduling

86b44d2e6d09fd941ca48120a2be223413a41ce0 authored almost 6 years ago by Zac Hatfield-Dodds <[email protected]>
Use Trio's new CancelScope API

32e1c6cbd8b3792e9e368907581b41a6701af65e authored almost 6 years ago by Zac-HD <[email protected]>
Test for scheduler determinism

5e12d310b8f33c3b150cb16926e9379a03baed11 authored almost 6 years ago by Zac-HD <[email protected]>
Deterministic scheduling via Hypothesis

3775f989474ed7ffeab597779f7981e2634c0257 authored almost 6 years ago by Zac-HD <[email protected]>
Merge pull request #76 from vxgmichel/pytest-ini

Move pytest options to pytest inifile

e828788e3e5321709e451ebf60c662c59f10555d authored almost 6 years ago by Quentin Pradet <[email protected]>
Move pytest options to pytest inifile

bae1fbc7056de3902eda367f1193227e0825f6fc authored almost 6 years ago by Vincent Michel <[email protected]>
Merge pull request #68 from Zac-HD/hypothesis-classifier

Add Hypothesis trove classifier for pytest-trio

5df0bde47a4a61ca83306830255af8e566c7fd63 authored about 6 years ago by Zac Hatfield-Dodds <[email protected]>
Add new Hypothesis trove classifier

e7fd67a38a02d8f79b4ef608568301475eb0cab7 authored about 6 years ago by Zac-HD <[email protected]>
Merge pull request #67 from touilleMan/release-v0.5.1

Bump version to 0.5.1

46f2ba7bf337d836e4b640a0d4ecf76411341366 authored over 6 years ago by Emmanuel Leblond <[email protected]>
Bump version to 0.5.1

3a175b33bf7e1f6e7c7b37006e5e8ebef2f3063e authored over 6 years ago by Emmanuel Leblond <[email protected]>
Merge pull request #60 from njsmith/release-0.5.0

Release v0.5.0

ab02953e303fb80a0d974c58246cf678dc1c0c1e authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Merge branch 'master' into release-0.5.0

0d56b4057b01395b53ab241a02593f3cbf43995e authored over 6 years ago by Quentin Pradet <[email protected]>
Merge pull request #65 from njsmith/fix-64

Fix compatibility with pytest 3.8.1

77f54c1a40f2213a1d708dae5f6a8bf71d31fa43 authored over 6 years ago by Laura F. D <[email protected]>
Avoid using deprecated run_asyncio

I guess this will break in the future as we work through

https://github.com/python-trio/trio-...

aa79c6ee35ab9a17f33c75db107c3ff397b83586 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Run yapf

36f087ff679ae5980d22c620ddbd155b6151fd1a authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Hack to let us keep merging stuff while gh-66 is being resolved

ffbceceffc2a59d7283fcddc622fe4b2224dff9e authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Fix compatibility with pytest 3.8.1

Apparently for a test *method*, item.obj and item.function are
different: item.obj is the bound ...

91346e6ebafbd6f4abacc6143b632bf07448c831 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Merge branch 'master' into release-0.5.0

3197b911ccf7a9664805777c50e373804e2ae853 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #62 from smurfix/upstream

Itsology: re-word various more-or-less-inappropriate instances of `it's`.

6706f8baeb1b441f3af1006cc068362a8b17f2ac authored over 6 years ago by Matthias Urlichs <[email protected]>
Re-word somewhat-awkward sentence

b904494b16c8ded65d30be215c3fb3e7a5610c09 authored over 6 years ago by Matthias Urlichs <[email protected]>
Merge branch 'master' into upstream

aa5ea7a2f04a337ce22815c394dd77af74890734 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Merge branch 'master' into release-0.5.0

7a4325b039505d0b82a204c208b25367dc4a6181 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #61 from njsmith/trio-asyncio-by-python-version

Don't try to install trio-asyncio on Pythons where it doesn't work

3d8c0b4d17a5bec4b846ea35971bfec4f55f2aad authored over 6 years ago by Nathaniel J. Smith <[email protected]>
"where a you use" …

d2c57e8990519f019394c65f343075b2ddb25421 authored over 6 years ago by Matthias Urlichs <[email protected]>
Itsology

Fix a couple of questionable (and one completely wrong) instances of
"it's".

398797a9e23409ffb3f7a853ca302e9d70cef704 authored over 6 years ago by Matthias Urlichs <[email protected]>
Don't try to install trio-asyncio on Pythons where it doesn't work

874fe40a3584c1537330fbc11c532d91886d78f3 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Bump version to 0.5.0+dev

8e8f9fd94f10850a7047f1a7116ce324ecbaf277 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Bump version to 0.5.0

038e58960e2c53e0be2edb905c600065df751613 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #47 from njsmith/docs

First draft of manual

2c5f476e7b4badf9f30db148c39ca6f2b81611a9 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Merge branch 'docs' of github.com:njsmith/pytest-trio into docs

6d1062792e436997013d9665d1c9ad65d05c82bd authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Update README also

8ed00927a3b8d3b2a3beb612d61597f9fc0dca22 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Merge branch 'master' into docs

2a06e231b97ee0e6676dae45d56d4417bb897b78 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #50 from njsmith/fixture-rework

Rework fixtures

dd27d702d7b95e7dc15874a318500aa0c3c5d65d authored over 6 years ago by Nathaniel J. Smith <[email protected]>
THIS TIME FOR SURE

98ba48be4fd8703e401d5ae02b1479de7cc11862 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
this time for sure...

b89b34d993ecbc16c0ec8c3f5f61d0edd5e11bb8 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
fix xrefs

d63783c3870b465ea4d7a951385aac7b93b210df authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Skip trio-asyncio tests on py35

When importing trio-asyncio v0.8.0 on py35, we get a crash at import
time:

.../python3.5/site...

b0559c1d492a818856eea5c4bcec88d0f24e9e04 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
py35 compatibility

2e5f6f7426f22b65685c6e630328c8a6cd1e732d authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Add docs for ContextVar support

75befd350f354a34601a9f81e58435ff522340dd authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Share contextvars across fixtures

This is sort of a gross hack, but it's simple and works. If it causes
problems, then this commen...

ef0cd267ea62188a8e475c66cb584e7a2addc02a authored over 6 years ago by Nathaniel J. Smith <[email protected]>
rearrange background server quickstart to flow more smoothly

14570bef2b75572f4cab3eead4b3a085a16c5ce4 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Update docs for the latest changes in gh-50

Also wrote some draft release notes

735b68e9536182d5c4f8dcca5fc0c3e25ada06d2 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Don't call it Pytest_Trio that just looks silly

e52357e1e8e4d0bd2b9fd3daafe3250c725af7c3 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Speling

8660bb22dc3826d8ffb96af1aabdac665aeeb2e4 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Edits after review

e5289d015bd5f6b8f615db174dd748bac0af2779 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Tweak fixture semantics

The fixture setup code doesn't have convenient access to config file
settings, and also keying t...

0217e26a537a80ca671c7763498e7b55d666e239 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
First draft of manual

fab1c67cf0c3e3452e794c1be355f20e25d42b8b authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Catch up the reference docs on what counts as a trio fixture

2165d1061c42ef930b094a14c484a87e0fcdcf52 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Give the fixture/test tasks meaningful names

4d2ec80c6de50b3626027ad4d0432fb9be2f084e authored over 6 years ago by Nathaniel J. Smith <[email protected]>
yapf

9138b86a2de378acc448932a71a9da6871494564 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Add more substantial tests for fixture ordering subtleties

0154411c67d0f8e24adb3aaad07d64956335f438 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Revert back to 'nursery' as the name of the magic nursery fixture

At this point this:

@pytest.fixture
async fix(nursery):
...

is just a shorthand for this (...

25e9e19b9ca099e8dc301586b7ef45194559d98b authored over 6 years ago by Nathaniel J. Smith <[email protected]>
yapf

4e31ce988c7f4b772769e16379a83fe319a1f060 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Avoid using broken pytests when testing pytest-trio

4f8a019cdffc9624f01c8c4f499b67a03ad8f713 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Remove stray prints

4a477a524910283368d4b63c82924a65843f180e authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Totally redo fixture/test setup/teardown, yet again

See https://github.com/python-trio/pytest-trio/issues/55 for discussion.

Main points:

* Fixtur...

fe65b49af119f7eed89ded1ad4bb538d3aa14c41 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
In Trio mode, auto-convert async fixtures to Trio fixtures

The main benefit of this is that it lets us catch more cases where
these fixtures are accidental...

eb42b8a9ab964d6299b8f0a00982524c282c4007 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Attempt to work around a weird issue with the docs build

87fd1418b535bc80f5c3dc4cae3099802cf26a5c authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Rename 'nursery' fixture to 'test_nursery'

Every nursery is called 'nursery'. This is less generic, and
emphasizes that this nursery is spe...

82afdabed19e9b08f2004f566a0960da4e27a598 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Rework fixtures

- Add @pytest_trio.trio_fixture for explicitly marking a fixture as
being a trio fixture
- Mak...

2036d760c081eee0ec27584fb6dda284dc345d79 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Merge pull request #49 from njsmith/trio-mode

Implement Trio mode

c905f15e7e6ecd84ee84cdca4b583d9343128827 authored over 6 years ago by Nathaniel J. Smith <[email protected]>
Implement Trio mode

Fixes gh-9
Documentation in gh-47

910d79c62194260bc9ec9f05e060806e5748f25f authored over 6 years ago by Nathaniel J. Smith <[email protected]>