Bruno Oliveira
de8fdab7a9
Change report-coverage.sh in attempt to fix Azure
...
Recently sometimes Azure has failed with:
++ curl -s https://codecov.io/bash
bash: /dev/fd/63: No such file or directory
This attempts to fix this by modifying report-coverage.sh slightly.
2019-09-21 16:02:48 -03:00
Daniel Hahler
c1361b48f8
Merge pull request #5868 from blueyed/mm
...
Merge master into features
2019-09-21 16:29:49 +02:00
Bruno Oliveira
1b4ad7774b
Fix logging doc: change x.level to x.levelno ( #5866 )
...
Fix logging doc: change x.level to x.levelno
2019-09-21 11:28:40 -03:00
Daniel Hahler
409cc2946a
Merge master into features
2019-09-21 16:22:48 +02:00
Bruno Oliveira
3114be9181
Revert "Show banner/full page for the Digital Climate Strike (#… ( #5867 )
...
Revert "Show banner/full page for the Digital Climate Strike (#5861 )"
2019-09-21 11:09:34 -03:00
Bruno Oliveira
e4103cb02c
Release version 5.1.3 ( #5859 )
...
Release version 5.1.3
2019-09-21 10:56:16 -03:00
Bruno Oliveira
217605c217
Revert "Show banner/full page for the Digital Climate Strike ( #5861 )"
...
This reverts commit c8cf748c49
, reversing
changes made to 702acdba46
.
2019-09-21 10:38:10 -03:00
James Cooke
2fcf21a6c7
Fix logging doc: change x.level to x.levelno
2019-09-20 18:38:47 +01:00
Bruno Oliveira
c8cf748c49
Show banner/full page for the Digital Climate Strike ( #5861 )
...
Show banner/full page for the Digital Climate Strike
2019-09-19 10:49:10 -03:00
Bruno Oliveira
249b53e623
Show banner/full page for the Ditigal Climate Strike
...
As discussed in the mailing list, pytest will join the
digital strike for the climate on Sep 20th. This will show
a closable banner on the docs until the date, and when the date
comes the banner will become a (closable) full page.
I will also pin an issue saying that the developers won't be
available on Sep 20th.
2019-09-19 08:26:25 -03:00
Bruno Oliveira
9669413b1f
Merge pull request #5776 from aklajnert/1682-dynamic-scope
...
Implemented the dynamic scope feature.
2019-09-19 08:22:45 -03:00
Andrzej Klajnert
e2382e96ed
Minor cleanup in tests.
2019-09-19 11:13:22 +02:00
Bruno Oliveira
1a9f4a51cb
Preparing release version 5.1.3
2019-09-18 10:11:59 -03:00
Bruno Oliveira
892bdd59dc
Normalize all summary durations, including quiet ones
2019-09-18 10:10:25 -03:00
Bruno Oliveira
df46afc96d
Change fixture argument handling tests to unit-tests
2019-09-18 07:50:35 -03:00
Bruno Oliveira
6918d07560
Merge remote-tracking branch 'upstream/features' into aklajnert/1682-dynamic-scope
2019-09-18 07:44:18 -03:00
Daniel Hahler
c997c32004
Merge pull request #5856 from blueyed/mm
...
Merge master into features
2019-09-17 21:47:40 +02:00
Daniel Hahler
450409d123
Merge master into features
...
Conflicts:
src/_pytest/reports.py
(via 7259c453d
, moved the type annotation; setting it to `None`
was removed in 3c82b1cb9
already)
2019-09-17 12:46:36 +02:00
Daniel Hahler
702acdba46
Merge pull request #5811 from blueyed/fulltrace-pytest-raises
...
Handle --fulltrace with pytest.raises
2019-09-14 02:09:36 +02:00
Daniel Hahler
f832ac3316
Handle --fulltrace with pytest.raises
...
This changes `_repr_failure_py` to use `tbfilter=False` always.
2019-09-14 01:41:43 +02:00
Bruno Oliveira
9422e10322
Fix regression due to different cases on Windows ( #5840 )
...
Fix regression due to different cases on Windows
2019-09-13 18:11:12 -03:00
Bruno Oliveira
5c3b4a6f52
Add CHANGELOG entry for #5792
2019-09-12 08:05:50 -03:00
Christian Neumüller
05850d73bd
Re-introduce Christian Neumüller to AUTHORS
...
The introduction was reverted by cd29d56
2019-09-12 08:05:50 -03:00
Bruno Oliveira
b48f51eb03
Use Path() objects to store conftest files
...
Using Path().resolve() is better than py.path.realpath because
it resolves to the correct path/drive in case-insensitive file systems (#5792 ):
>>> from py.path import local
>>> from pathlib import Path
>>>
>>> local('d:\\projects').realpath()
local('d:\\projects')
>>> Path('d:\\projects').resolve()
WindowsPath('D:/projects')
Fix #5819
2019-09-12 08:05:50 -03:00
Bruno Oliveira
cf5b544db3
Revert "Merge pull request #5792 from dynatrace-oss-contrib/bugfix/badcase"
...
This reverts commit 955e542210
, reversing
changes made to 0215bcd84e
.
Will attempt a simpler approach
2019-09-12 08:05:43 -03:00
Bruno Oliveira
73c5b7f4b1
Clarify docs by showing tox.ini considered before setup.cfg ( #5839 )
...
Clarify docs by showing tox.ini considered before setup.cfg
2019-09-11 22:14:31 -03:00
Anthony Sottile
8f2f51be6d
Clarify docs by showing tox.ini considered before setup.cfg
2019-09-11 14:07:06 -07:00
Andrzej Klajnert
f2f3ced508
Fixed the fixture function signature.
2019-09-10 16:20:44 +02:00
Bruno Oliveira
23102a7d84
Update doc regarding pytest.raises ( #5834 )
...
Update doc regarding pytest.raises
2019-09-09 16:18:58 -03:00
Gene Wood
f0d538329c
Update doc regarding pytest.raises
...
Remove reference to the `message` argument in the docs as it was deprecated in #4539
2019-09-09 12:14:09 -07:00
Bruno Oliveira
6c8bcf601c
Fix pypy3.6 on windows ( #5828 )
...
Fix pypy3.6 on windows
2019-09-08 12:11:28 -03:00
Anthony Sottile
9d7b919c7d
Fix pypy3.6 on windows
2019-09-07 16:49:05 -07:00
Bruno Oliveira
333e9d5c10
Merge pull request #5824 from blueyed/revert-py350
...
ci: Travis: do not test with 3.5.0
2019-09-06 08:05:51 -03:00
Daniel Hahler
f1b605c95e
ci: Travis: do not test with 3.5.0
...
This causes flaky test failures (crashes).
Closes https://github.com/pytest-dev/pytest/issues/5795 .
2019-09-06 12:29:17 +02:00
Bruno Oliveira
2bb8d93001
Fix for Python 4: replace unsafe PY3 with PY2 ( #5820 )
...
Fix for Python 4: replace unsafe PY3 with PY2
2019-09-05 12:39:06 -03:00
Hugo
d049b35397
Fix for Python 4: replace unsafe PY3 with PY2
2019-09-05 18:06:47 +03:00
Bruno Oliveira
8ee557f7ae
Fix pythonpath anchor ( #5817 )
...
Fix pythonpath anchor
2019-09-04 22:19:57 -03:00
Gene Wood
ca3884d9bb
Add Gene Wood to authors
2019-09-04 09:21:10 -07:00
Gene Wood
bc163605ab
Fix anchor link from Good Practices to Pythonpath doc
2019-09-04 09:18:10 -07:00
Bruno Oliveira
1675048b35
Merge pull request #5808 from goerz/pastebin
...
Fix "lexer" being used when uploading to bpaste.net
2019-08-31 16:11:39 -03:00
aklajnert
10bf6aac76
Implemented the dynamic scope feature.
2019-08-31 18:12:24 +02:00
Michael Goerz
f8dd6349c1
Fix "lexer" being used when uploading to bpaste.net
...
Closes #5806 .
2019-08-30 15:34:03 -04:00
Bruno Oliveira
8c8809e1aa
Merge pull request #5805 from nicoddemus/release-5.1.2
...
Release 5.1.2
2019-08-30 16:05:14 -03:00
Bruno Oliveira
e56544cb58
Preparing release version 5.1.2
2019-08-30 12:43:47 -03:00
Bruno Oliveira
f9cc704b1a
Replace session duration to a fix value in regendoc
2019-08-30 12:42:14 -03:00
Bruno Oliveira
bd57307a39
Merge pull request #5768 from robholt/fixture-class-instance
...
Fix self reference in function scoped fixtures
2019-08-30 12:31:16 -03:00
Bruno Oliveira
667c6463ab
Merge pull request #5803 from nicoddemus/flaky-5795
...
Mark flaky test as xfail on Python 3.5.0
2019-08-30 12:30:11 -03:00
Bruno Oliveira
4e594552eb
Merge pull request #5798 from aklajnert/570-indirect-fixtures
...
Fix the scope behavior with indirect fixtures
2019-08-30 12:29:03 -03:00
Bruno Oliveira
955dc6d18a
Merge remote-tracking branch 'upstream/master' into robholt/fixture-class-instance
2019-08-30 11:21:33 -03:00
Bruno Oliveira
3ddbc7fb2a
Improve CHANGELOG and add some comments
...
Ref: #5768
2019-08-30 11:20:19 -03:00