Bruno Oliveira
6d040370ed
Show fixture scopes with ``--fixtures``, except for "function" scope
...
Fix #5220
2019-05-07 14:32:20 -03:00
Bruno Oliveira
1d466d0aa7
Use exec directly ( #5224 )
...
Use exec directly
2019-05-07 10:02:12 -03:00
Bruno Oliveira
ef4dec0bcf
Skip test_source_mtime_long_long on 32bit and lower platforms ( #5045 )
...
Skip test_source_mtime_long_long on 32bit and lower platforms
2019-05-07 09:42:18 -03:00
Bruno Oliveira
d76735f9e5
Restore usedevelop=True now that pip 19.1.1 restored the old behavior ( #5222 )
...
Restore usedevelop=True now that pip 19.1.1 restored the old behavior
2019-05-07 08:46:47 -03:00
Anthony Sottile
d1a48ad68f
Use exec directly
2019-05-06 23:07:39 -07:00
Bruno Oliveira
6d259c400e
Merge pull request #5223 from 5uper5hoot/patch-1
...
Clarify docs for pytest.raises `match`.
2019-05-06 21:57:47 -03:00
Bruno Oliveira
d3686361ba
Fix linting
2019-05-07 00:52:40 +00:00
Peter Schutt
8605ed2a15
Update python_api.py
2019-05-07 10:10:25 +10:00
Peter Schutt
8b34d981fc
Clarify docs for pytest.raises `match`.
...
For #5208 .
Document explicit behavior of `match` and brief note on how to handle matching a string that may contain special re chars.
2019-05-07 09:56:13 +10:00
Bruno Oliveira
2795689435
Restore usedevelop=True now that pip 19.1.1 restored the old behavior
...
Fix #5167
2019-05-06 19:42:06 -03:00
Bruno Oliveira
dcf65a9643
Add links to pytest.raises `message` workaround ( #5218 )
...
Add links to pytest.raises `message` workaround
2019-05-06 18:56:40 -03:00
Bruno Oliveira
784e1e3b7e
Add links to pytest.raises `message` workaround
...
Related to #3974
2019-05-06 12:35:27 -03:00
Bruno Oliveira
4a2fdce62b
Emit a warning for record_property when used with xunit2 ( #5204 )
...
Emit a warning for record_property when used with xunit2
2019-05-05 21:33:31 -03:00
Bruno Oliveira
32a5e80a6d
Add encoding: header and fix rep mock in test_line_with_reprcrash on py27
2019-05-05 09:33:37 -03:00
Bruno Oliveira
0e8a8f94f6
Add encoding header to test_terminal.py
2019-05-05 09:14:07 -03:00
Bruno Oliveira
8f23e19bcb
Emit a warning for record_property when used with xunit2
...
"property" elements cannot be children of "testsuite" according to the schema, so it is incompatible with xunit2
Related to #5202
2019-05-05 09:01:13 -03:00
Daniel Hahler
f5c1f3df71
Merge pull request #5210 from nicoddemus/merge-master-into-features
...
Merge master into features
2019-05-05 08:02:06 +02:00
Daniel Hahler
b25802eca7
Merge pull request #5212 from jdufresne/new-black
...
Update Black URLs
2019-05-05 07:58:27 +02:00
Daniel Hahler
7f7f84757d
Merge pull request #5211 from hugovk/upgrade-pypy
...
Upgrade PyPy to 7.1.1
2019-05-05 04:50:11 +02:00
Jon Dufresne
143499d041
Update Black URLs
...
> Black, your uncompromising #Python code formatter, was a project
> created with the community in mind from Day 1. Today we moved it under
> the PSF umbrella. It's now available on GitHub under
> https://github.com/python/black/ . You install and use it just like
> before.
https://twitter.com/llanga/status/1123980466292445190
2019-05-04 08:28:50 -07:00
Hugo
26b41a5914
Upgrade PyPy to 7.1.1
2019-05-04 17:54:57 +03:00
Bruno Oliveira
9f66102869
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2019-05-04 10:47:57 -03:00
Bruno Oliveira
e1a426c067
Unify pypy ( #5209 )
...
Unify pypy
2019-05-04 10:46:14 -03:00
Bruno Oliveira
2bd97ebaf7
Use 'pypy' as executable on PyPy env [skip travis]
2019-05-04 10:27:06 -03:00
Bruno Oliveira
45eeb53c98
Fix a typo ( #5207 )
...
Fix a typo
2019-05-04 10:04:50 -03:00
Don Kirkby
254b195f50
Fix a typo
2019-05-03 22:30:20 -07:00
Daniel Hahler
865e84d206
Merge pull request #5109 from blueyed/summary_passes-green
...
summary_passes: use bold green for report headers
2019-05-04 00:46:23 +02:00
Bruno Oliveira
1c13418a8b
doc: fix hooks 'path' parameter doc type ( #5198 )
...
doc: fix hooks 'path' parameter doc type
2019-05-02 21:05:07 -03:00
DamianSkrzypczak
299e6479c1
add DamianSkrzypczak to AUTHORS
2019-05-02 23:45:34 +02:00
DamianSkrzypczak
6e81c3df92
add changelog for issue #5171 fixes
2019-05-02 21:30:03 +02:00
DamianSkrzypczak
1bd7d287a7
doc: fix hooks 'path' parameter doc type
...
by changing it from str to py.path.local
(#5171 )
2019-05-02 20:51:11 +02:00
Anthony Sottile
b82e1b87cc
Merge pull request #5195 from nicoddemus/pytest-config-docs
...
Add quick note about accessing config through session or item objects
2019-05-02 09:52:42 -07:00
Bruno Oliveira
af40473c9a
Add quick note about accessing config through session or item objects
...
Fix #5030
2019-05-01 11:46:35 -03:00
Bruno Oliveira
f17b734989
Improve help for --runxfail flag ( #5188 )
...
Improve help for --runxfail flag
2019-05-01 11:00:31 -03:00
Allan Lewis
f050203f5d
Improve help for --runxfail flag
...
The help for the '--runxfail' flag is somewhat misleading. The default
behaviour is to run tests marked as 'xfail' but to ignore the results. This
flag alters that behaviour by running these tests as if they weren't marked
'xfail', i.e. their results are not ignored.
2019-05-01 10:04:32 +01:00
Bruno Oliveira
3f5622c577
Use config_invocation_dir for startdirs ( #5151 )
...
Use config_invocation_dir for startdirs
2019-04-29 18:14:51 -03:00
Bruno Oliveira
1fb3f63f35
debugging: rename internal wrapper for pdb.Pdb ( #5186 )
...
debugging: rename internal wrapper for pdb.Pdb
2019-04-29 18:03:32 -03:00
Bruno Oliveira
fc2ad1dbed
Warning subclasses ( #5179 )
...
Warning subclasses
2019-04-29 17:57:49 -03:00
Matt Cooper
bc6450773a
remove PyPy special casing
2019-04-29 08:39:48 -04:00
Bruno Oliveira
204004c8b8
Review doctest docs ( #5183 )
...
Review doctest docs
2019-04-29 08:02:59 -03:00
Bruno Oliveira
772a4a5cf3
Remove all version references to obsolete pytest versions ( #5184 )
...
Remove all version references to obsolete pytest versions
2019-04-29 08:02:32 -03:00
Bruno Oliveira
fb6dad60a0
terminal: use pytest_collection_finish for reporting ( #5113 )
...
terminal: use pytest_collection_finish for reporting
2019-04-29 08:00:48 -03:00
Bruno Oliveira
d9cad1e759
Merge pull request #5176 from nicoddemus/initial-conftests-note
...
Add note about pytest_load_initial_conftests working only from plugins
2019-04-29 07:59:27 -03:00
Daniel Hahler
02053bf556
debugging: rename internal wrapper for pdb.Pdb
...
This is useful/clearer in case of errors / tracebacks - i.e. you see
clearly that it is coming from pytest.
2019-04-29 05:46:21 +02:00
Anthony Sottile
6fb3baf071
Merge pull request #5182 from nicoddemus/removed-unused-deprecation-msgs
...
Removed unused warning message
2019-04-28 20:26:11 -07:00
Daniel Hahler
ff5317a7f3
terminal: use pytest_collection_finish for reporting
2019-04-29 05:20:04 +02:00
Bruno Oliveira
766fc23151
Merge pull request #5185 from nicoddemus/lf-skip-files
...
--lf now skips colletion of files without failed tests
2019-04-28 21:48:53 -03:00
Bruno Oliveira
08734bdd18
--lf now skips colletion of files without failed tests
...
Fix #5172
2019-04-28 20:23:46 -03:00
Bruno Oliveira
e943aff995
Update blurb about Sybil
2019-04-28 20:01:22 -03:00
Bruno Oliveira
9c5da9c0d1
Remove all version references to obsolete pytest versions
...
Remove version references to pytest 2 and 3.
Just like Python 3 no longer has references to Python 2, I think
we should follow the same approach in pytest.
2019-04-28 12:37:58 -03:00