Anthony Sottile
19a15a94ee
Merge pull request #6197 from asottile/fix_init_py_discovery
...
Fix incorrect discovery of non-test `__init__.py` files.
2019-11-15 13:19:48 -08:00
Anthony Sottile
4e0f99260d
Add regression tests for __init__.py breakage
2019-11-15 13:19:31 -08:00
Anthony Sottile
176c7771fb
Revert "fix bug with nonskipped first test in package ( #5831 )"
...
This reverts commit 85288b5321
, reversing
changes made to 5f9db8a017
.
2019-11-15 08:29:52 -08:00
Bruno Oliveira
e856638ba0
Preparing release version 5.2.3 ( #6190 )
...
Preparing release version 5.2.3
2019-11-14 18:17:28 -03:00
Bruno Oliveira
dd9a27cf54
Adjust CHANGELOG
2019-11-14 17:51:38 -03:00
Daniel Hahler
d4e4ab5b3d
Update text in PR template ( #6188 )
2019-11-14 21:30:16 +01:00
Bruno Oliveira
e2a0987156
Update advice about _called_from_test. ( #6168 )
...
Update advice about _called_from_test.
2019-11-14 17:10:53 -03:00
Michael Shields
bd68c2a3dc
Update advice about _called_from_test.
...
Instead of giving an example of using sys and then, at the end,
advising not to use sys, just give a correct example. This is
especially helpful since mypy 0.740 has started (correctly) complaining
about sys._called_from_pytest not being present.
2019-11-14 19:44:27 +00:00
Bruno Oliveira
5e8c47faad
Preparing release version 5.2.3
2019-11-14 11:12:06 -03:00
Hugo
48ec7d28c6
Make whole checklist a comment to avoid incomplete TODOs in PRs
2019-11-14 12:01:40 +02:00
Hugo
350c27c8b4
Update text in PR template
2019-11-14 11:36:47 +02:00
Bruno Oliveira
92d6a0500b
Show a better message when 'request' is used in parametrize ( #6184 )
...
Show a better message when 'request' is used in parametrize
2019-11-13 20:36:23 -03:00
Bruno Oliveira
6f2c0fd2e8
Show a better message when 'request' is used in parametrize
...
Fix #6183
2019-11-13 19:57:10 -03:00
Zac Hatfield-Dodds
55a58bcd3d
Merge pull request #6173 from brettcannon/patch-1
...
Delineate syntactically that the 'match' argument to 'raises' is keyword-only
2019-11-13 08:17:25 +11:00
Brett Cannon
0b40749c98
Delineate syntactically that the 'match' argument to 'raises' is keyword-only
2019-11-12 12:32:05 -08:00
Bruno Oliveira
adccb63de0
setup.cfg: fix check-manifest ignore [ci skip] ( #6156 )
...
setup.cfg: fix check-manifest ignore [ci skip]
2019-11-12 11:45:31 -03:00
Daniel Hahler
41604eeb3e
setup.cfg: fix check-manifest ignore [ci skip]
2019-11-08 22:39:39 +01:00
Bruno Oliveira
85288b5321
fix bug with nonskipped first test in package ( #5831 )
...
fix bug with nonskipped first test in package
2019-11-06 16:06:46 -03:00
Daniel Hahler
5f9db8a017
Merge pull request #6138 from blueyed/ci-py38
...
ci: Travis: remove py38 from allowed failures; do not use "-dev"
2019-11-06 14:19:14 +01:00
Daniel Hahler
957adbbbc7
ci: Travis: remove py38 from allowed failures; do not use "-dev"
2019-11-06 13:09:11 +01:00
Florian Bruhin
990d75b7e6
Merge pull request #6134 from zmhassan/small_bug1
...
Removing variable being reassigned
2019-11-05 10:17:04 +01:00
Zak Hassan
f9e3a5395c
Removing variable being reassigned
2019-11-04 21:11:54 -05:00
Bruno Oliveira
0760406480
update chanelog link to moved pip docs page ( #6127 )
...
update chanelog link to moved pip docs page
2019-11-04 13:18:09 -03:00
David Szotten
14580c7e31
update chanelog link to moved pip docs page
2019-11-04 10:05:05 +00:00
Florian Bruhin
35800a2f73
Merge pull request #6112 from gaucheph/fix-small-typo
...
typos
2019-11-01 11:18:06 +01:00
Patrick Harmon
abc890079f
typos
2019-10-31 23:19:35 -05:00
Daniel Hahler
dc5a4fbe23
Merge pull request #6099 from davidszotten/trace_parametrize
...
Fix --trace for parametrized tests
2019-11-01 05:06:26 +01:00
David Szotten
285524c6cd
Fix --trace for parametrized tests
...
Without this, the second time it tries to stop in a parametrized
function it raises instead:
`ValueError: --trace can't be used with a fixture named func!`
Implementation idea, test (and changelog tweaks) thanks to blueyed
Co-Authored-By: Ronny Pfannschmidt <opensource@ronnypfannschmidt.de>
Co-Authored-By: Daniel Hahler <git@thequod.de>
2019-10-31 21:41:33 +00:00
Bruno Oliveira
cefe6bfec3
Replace a few outdated references to py.test with pytest ( #6063 )
...
Replace a few outdated references to py.test with pytest
2019-10-26 12:59:22 -03:00
Bruno Oliveira
ac633b8969
Replace py.io.TextIO with io.StringIO ( #6064 )
...
Replace py.io.TextIO with io.StringIO
2019-10-26 12:58:52 -03:00
Ran Benita
0b8c35516f
Replace py.io.TextIO with io.StringIO
...
In Python3, py.io.TextIO is just an alias to io.StringIO. Remove the
indirection.
2019-10-26 16:33:57 +03:00
Ran Benita
96de232791
Replace a few outdated references to py.test with pytest
2019-10-26 16:28:17 +03:00
Bruno Oliveira
2fc1f7b8dc
Put the 4.6 changelogs together ( #5969 )
...
Put the 4.6 changelogs together
2019-10-24 21:21:59 -03:00
Bruno Oliveira
dae238c9b1
Release version 5.2.2 ( #6055 )
...
Release version 5.2.2
2019-10-24 21:09:15 -03:00
Bruno Oliveira
b27ba97721
Preparing release version 5.2.2
2019-10-24 19:24:04 -04:00
Bruno Oliveira
2b56c7e1ce
Update Tidelift docs with latest campaign ( #6053 )
...
Update Tidelift docs with latest campaign
2019-10-24 18:46:21 -03:00
Bruno Oliveira
2bee7d7c3e
Update Tidelift docs with latest campaign
...
Tidelift has launched a new marketing campaign as outlined here:
* https://forum.tidelift.com/t/task-enhancement-marketing-the-tidelift-subscription-to-your-users/321
This PR splits the previous "sponsor" information into two, Open Collective
and Tidelift (as they have very different target audiences).
Also took the opportunity to reorder some items at the end of
the contents page in a manner that I believe make more sense.
2019-10-24 14:58:58 -03:00
Bruno Oliveira
713b9e54c3
Review rm_rf handling of FileNotFoundErrors ( #6044 )
...
Review rm_rf handling of FileNotFoundErrors
2019-10-23 19:22:26 -03:00
Bruno Oliveira
ba4b8c869c
Review rm_rf handling of FileNotFoundErrors
2019-10-23 08:30:52 -03:00
Daniel Hahler
82e9013e73
Merge pull request #6004 from blueyed/fix-nf
...
cache: NFPlugin: keep known nodeids
2019-10-23 01:04:48 +02:00
Daniil Galiev
5cefcb2052
refactor disabling markers
2019-10-21 00:11:24 +02:00
Daniil Galiev
b94eb4cb7b
disable _ALLOW_MARKERS in module __init__.py
2019-10-21 00:11:24 +02:00
Daniil Galiev
9275012ef7
fix bug with nonskipped first test in package
2019-10-21 00:11:24 +02:00
Bruno Oliveira
14142b9113
tests: remove unnecessary test, clarify ( #6013 )
...
tests: remove unnecessary test, clarify
2019-10-20 18:36:27 -03:00
Daniel Hahler
0123b29ed7
tests: remove unnecessary test, clarify
...
Follow-up to https://github.com/pytest-dev/pytest/pull/6009 .
2019-10-20 20:40:13 +02:00
Bruno Oliveira
16efa1bfef
Merge pull request #6009 from yoavcaspi/fix_keyboardInterrupt_on_setup_show
...
setuponly: remove printing out/err from capman
2019-10-20 14:00:06 -03:00
Yoav Caspi
5624e366c1
add more indications to the result of the tests
2019-10-20 09:54:23 +03:00
Anthony Sottile
b88f5df4ce
Merge pull request #6010 from pytest-dev/asottile-patch-2
...
Ensure .pytest_cache file has a newline at the end
2019-10-19 16:21:21 -07:00
Anthony Sottile
3a402811de
Ensure .pytest_cache file has a newline at the end
2019-10-19 14:42:06 -07:00
Yoav Caspi
e05b33ed16
setuponly: remove printing out/err from capman
2019-10-19 22:33:19 +03:00