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
pytester: typing
ec273637481f7df64198539510b0b3e5c1e5e849 authored over 5 years agopytester: spawn: do not skip FreeBSD
716f532a3871ef45655c327f483f9b1897c4d73f authored over 5 years ago820b747e7a14e441bb0e499eff51de65973252d0 authored over 5 years ago
d863c30c743138ed29cdf786cb18c41c24983fe1 authored over 5 years ago
886a3ad609e16bb69a5d0b02f285e4fb076ebcc6 authored over 5 years ago
mark: move pytest_cmdline_main.tryfist into decorator
cbc39dd86ecfc7ebfd25756f42adf4b9ef1121fc authored over 5 years agoAvoids comments for ignored typing.
a4faac6c942f38613bca7b88176565da173d1ab2 authored over 5 years ago81c3bc76bcd366c61da2a63047421241e33c366b authored over 5 years ago
Merge master into features
a92f49afa7d32d3c64972390a22c9ed7710fcfcb authored over 5 years ago
Conflicts:
src/_pytest/logging.py
Fixes https://github.com/pytest-dev/pytest/issues/6069
8e8a8fa4b9b1b88c8afc9ce92e3c2a8bc5466541 authored over 5 years ago
This would prevent TOXENV=py37-pexpect-… from running on e.g. FreeBSD.
And even on Windows it is...
At least the ones I was able to.
00a278cdb4549973998b58206ca020a87c38fcee authored over 5 years agoAt least the ones I was sure of.
59a59f371b303e8825b07fdd6567609b698d0092 authored over 5 years ago928587da60130889e7902c6d21e37ff82fb752bd authored over 5 years ago
Replace a few outdated references to py.test with pytest
cefe6bfec38f8f9e200b2e233a840cf1de2bf3b4 authored over 5 years agoReplace py.io.TextIO with io.StringIO
ac633b8969ced41c49d3cb8ce9bc4d4b20be4682 authored over 5 years agoSupport sys.pycache_prefix on py38
1ad4ca6ac14ccabc2fb537bfc766251dfad22aec authored over 5 years ago6f20b4b014f5e01a64f811372625284e2e8b08fe authored over 5 years ago
In Python3, py.io.TextIO is just an alias to io.StringIO. Remove the
indirection.
96de23279165af589822f54365f31925390f434d authored over 5 years ago
Fix #4730
f93f284356c73e35ef3f50076496538bbdce4b6b authored over 5 years ago6057 tolerance on complex approx
b9df9a476177cac1760a5d10cd66392368a8c00a authored over 5 years agoMerge master into features
39066d5a4210f8c26b4336636fcab1244f1cfee3 authored over 5 years ago3c7fbe2d8b4e3a0f3d9dcd7fbdf6ac12de181ef8 authored over 5 years ago
1f5b454355d27bccda2ce1b3b145cfbde020fb76 authored over 5 years ago
82753bec50fae4718fc6f38bdab3cf214f2be00f authored over 5 years ago
34a02121adc2af5641b663c25804def9adb151e3 authored over 5 years ago
ed9fda84d30850f71b7d7d5c831c9ab1aaf3b2c8 authored over 5 years ago
Put the 4.6 changelogs together
2fc1f7b8dc912c25460013ee794b492d3d4314d6 authored over 5 years ago
Conflicts:
- src/_pytest/cacheprovider.py
Release version 5.2.2
dae238c9b18916251bd39fc23b06b5b315c830a3 authored over 5 years agob27ba977219260528f4e47c9614c129d680dee90 authored over 5 years ago
pytester: align prefixes
d1bc2601e490b85763b2b711d4cd11d06e8e7be7 authored over 5 years agoUpdate Tidelift docs with latest campaign
2b56c7e1cefe58e4a94073a30ad0d698f366c7d4 authored over 5 years agoChange #5061 changelog to 'improvement'
73a77c90cab9aebbf4a7cdb7bedecc6c620eb3fa authored over 5 years agoThis is important for using another match_nickname, e.g. "re.match".
TODO:
- [ ] changelog
- [...
tests: mark test_meta as slow
45fc0d9cd80ed37d77698f4e316103ba187f7eaf authored over 5 years agoTidelift has launched a new marketing campaign as outlined here:
* https://forum.tidelift.com/t...
2bee7d7c3ed4bc80169f2ad1ff6af7ca2db3da7d authored over 5 years ago92418b8d5d61a7728dba895dcbd76b1d2ffc77a3 authored over 5 years ago
assertrepr_compare: use safeformat with -vv
432e5550e5ae8843d40bffd436e6a88582ef7dc3 authored over 5 years agoReview rm_rf handling of FileNotFoundErrors
713b9e54c31a8ec66c59ebe44c3e86a9b60fa7c7 authored over 5 years agocapture: improve message with DontReadFromInput's IOError
8316d4392aadab5e91d508a8a130968f19a20c29 authored over 5 years ago2/X Fix check_untyped_defs = True mypy errors
7a2d2d8f07d65e3d4b8360086df009777f130b5e authored over 5 years agopytester: runpytest_inprocess: use splitlines()
62427778188a403122df36665e7a50e5ab2740fe authored over 5 years agoShow the mnemonic of pytest.ExitCode in RunResult's repr
20ee883b5f69fa0f1ff9a28bedb3d411b085acca authored over 5 years agoFix #4901
7beb520555b7908c647c5cfa35bbfc3e48b28638 authored over 5 years ago1cc1ac51838f45d819fcdbfd71df79aa851dc677 authored over 5 years ago
ba4b8c869c70f6c46b780a1e1478ec75da61417a authored over 5 years ago
583c2a2f9babe67c8f2413b391416874efe91d36 authored over 5 years ago
1787bffda016f07b25c6dc7a2fb27e39ab920ec4 authored over 5 years ago
5dca7a2f4fa5e5c16935bc79c2f1da9d28886609 authored over 5 years ago
0267b25c66875617ed69132445820a6f82e6e2fa authored over 5 years ago
93c8822f26c90e3b440021b26da62e6aa6d49158 authored over 5 years ago
In order to make the LiteralOutputChecker lazy initialization more
amenable to type checking, I ...
Update mypy 0.720 -> 0.740
3246d8a6e9c5ea398df3470401cc8b7f59b2f525 authored over 5 years agominor: typing for ReprFailDoctest
b30e7bd1de30c561540c8de605a2a1f47e175b23 authored over 5 years agodoctest: unset RUNNER_CLASS in pytest_unconfigure
db9e248b2edef4bb872858d267697e0e59fc13ac authored over 5 years ago1371b01f78afcfb836ef21a81cdb9b6516c1119e authored over 5 years ago
Changelogs:
http://mypy-lang.blogspot.com/2019/09/mypy-730-released.html
http://mypy-lang.blogsp...
pytest.main: return ExitCode
c71a2c9f80c230cd1dd4813d833db92fb88c2b60 authored over 5 years agoThis avoids having a trailing empty lines always.
2f589a9769e12e71253624372e7eeb7076b7549b authored over 5 years ago046aa0b6e93db59dbb67f6909415215d038fd02b authored over 5 years ago
Fix test_doctest_set_trace_quit on features
f0c2b070c5be690ab2285f44cae51b521cf53e52 authored over 5 years agob079dc2dbeb5f117de8c18e41a25cf44531f6bb2 authored over 5 years ago
Multiple colors with terminal summary_stats
4af89bba9d9df9f5548f5ac06fd59b40c5a8350f authored over 5 years agoThis is important when used with ``pytester``'s ``runpytest_inprocess``.
Since 07f20ccab `pytes...
5e7b2ae704da84db5e9d4a786ebe1efe1997f9ff authored over 5 years agopytester: parseconfigure: remove duplicate config._ensure_unconfigure
bae22e1fdd57b33d118d1912878466360477fc1b authored over 5 years agoMinor: help / direct usage of config
215be88fed6816db31cd57e638804c69caab423a authored over 5 years agodoctest: handle BdbQuit
98fc9377d93771c8b877d37c812d10bd789396e0 authored over 5 years agoRemove (rejected) comment from DontReadFromInput
8683293031afd812f23c7bfe5e6ddcc9ef092b00 authored over 5 years agoci: use tox -vv
bdadf12af1fbf61595780e4862185f70f73faaed authored over 5 years agocache: NFPlugin: keep known nodeids
82e9013e73ca6da796ff85627875936887ba213e authored over 5 years agoa51bb3eedb43c2951ce8ee2dd3fab849c4d6ee7c authored over 5 years ago
f4734213e5871364894c79f826e268d4b294f222 authored over 5 years ago
This moves it to the end of tests during collection. Takes ~7s for me.
0dd68ba0b6a923bd57a4ba50772540020b974386 authored over 5 years ago851fc0280f155becb1c0a4307e23be7b857432ea authored over 5 years ago
This will display durations, and is useful in logs in general.
56cec5fa79106c0e8c02eb34bd8e5768ec52044d authored over 5 years agoRef: https://github.com/pytest-dev/pytest/pull/4996#issuecomment-479686487
3c14dd7f55dbc14dabdff4ecf5246ba0f4501e8f authored over 5 years agoMerge master into features
978c7ae1b72e410be6d2db25cee2817e91c2d4e4 authored over 5 years agoRef: https://github.com/pytest-dev/pytest/issues/5060
554dba391c2302c29590d7991414bfe5d01ab81e authored over 5 years agoRef: https://github.com/pytest-dev/pytest/pull/4996#issuecomment-479686487
995990c61b1eaa5830d01a1a14608ec981eaf8b9 authored over 5 years agoThis gets done in `parseconfig` already.
b47f57a08a9db7b3ec80b8197153a86d1eef117d authored over 5 years agob94eb4cb7b455282144e99e9c0b21aa80596e993 authored over 5 years ago
5cefcb20522e3d48282ba3f889162be5ef8e9040 authored over 5 years ago
9275012ef789048998d1b87b9536bd7c2c063596 authored over 5 years ago
803cc1f294782b7a7abe0c82fe100de95bb8cfb3 authored over 5 years ago
tests: remove unnecessary test, clarify
14142b911377d5354acf07ca1c9a7f11e9298b84 authored over 5 years agod91ff0af8a1d7fde73b88017ee7fd3c8ad846f3b authored over 5 years ago
46fbf22524058a36b7fd94a5dcd021858079189a authored over 5 years ago
Follow-up to https://github.com/pytest-dev/pytest/pull/6009.
0123b29ed754afd77b737845e5a205cc2404afbe authored over 5 years agosetuponly: remove printing out/err from capman
16efa1bfef19ee41f3a74f464139b4129ff804dc authored over 5 years agoa6152db84adfb7e9b64c16826aad73d5be91cb28 authored over 5 years ago
83351a33682df31fca12e6baf67370ab21af185b authored over 5 years ago
tests: harden/fix test_trial_error
fbb7f663be2fa88e689f2e5883ed59d01722f4be authored over 5 years ago5624e366c1c812e200231e70c6ba2f15dc04a323 authored over 5 years ago
Ensure .pytest_cache file has a newline at the end
b88f5df4ce29e5dae05ad60c013b3a6a83535703 authored over 5 years ago3a402811de5227dd46d3a9ab75a9e75d3ef3097e authored over 5 years ago
Make InvocationParams.args a tuple
b5579d2cf21cd72469fe20c10ccee0238330c93e authored over 5 years ago9b673bcc44b8dc9d1436e3cd2403f21724324064 authored over 5 years ago