Ronny Pfannschmidt
950d30e6e0
fix #4400 - rearrange the handling of yield test warnings/errors
2018-11-16 13:49:46 +01:00
Ronny Pfannschmidt
5872e1c35a
Merge pull request #4392 from nicoddemus/merge-master-into-features
...
Merge master into features
2018-11-15 06:59:42 +01:00
Daniel Hahler
0385c27343
cacheprovider: do not write README/.gitignore to existing dir
...
Fixes https://github.com/pytest-dev/pytest/issues/4393 .
2018-11-14 22:09:09 +01:00
Bruno Oliveira
9dec146edf
Merge pull request #4388 from nicoddemus/release-4.0.0
...
Release 4.0.0
2018-11-14 15:11:09 -02:00
Bruno Oliveira
c2d6b3524c
Preparing release version 4.0.0
2018-11-13 21:01:51 +00:00
Bruno Oliveira
e025974cbd
Merge remote-tracking branch 'upstream/master' into release-4.0.0
2018-11-13 20:58:24 +00:00
Bruno Oliveira
fea09cda6c
Merge pull request #4383 from nicoddemus/merge-master-into-features
...
Merge master into features (about to prepare 4.0)
2018-11-13 18:57:41 -02:00
Daniel Hahler
ba457f5feb
Optimize/revisit determine_setup
2018-11-13 20:14:24 +01:00
Daniel Hahler
ed91d5f086
config: set invocation_dir in the constructor already
...
This allows to make use of it when determining the rootdir etc.
2018-11-13 20:14:24 +01:00
Daniel Hahler
b7863a5f48
Merge pull request #4381 from blueyed/callinfo-repr
...
Fix CallInfo.__repr__ for unfinished call
2018-11-13 18:13:58 +01:00
Aly Sivji
b83e97802e
improve failure output
2018-11-13 09:37:02 -06:00
Daniel Hahler
a72eff5a08
Merge pull request #4382 from blueyed/pytester-pop-TOX_ENV_DIR
...
pytester: pop TOX_ENV_DIR from os.environ
2018-11-13 12:42:51 +01:00
Daniel Hahler
46c8363e12
Merge pull request #4380 from blueyed/improve-ci
...
Travis: move faster builds to baseline
2018-11-13 12:40:26 +01:00
Bruno Oliveira
557cb6cffe
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2018-11-13 09:01:37 -02:00
Bruno Oliveira
8198e7cd33
Merge pull request #4349 from nicoddemus/pytest4-warnings-as-errors
...
Change RemovedInPytest4Warnings to errors by default
2018-11-13 08:31:47 -02:00
Daniel Hahler
a6a96469ca
pytester: pop TOX_ENV_DIR from os.environ
...
Closes: https://github.com/pytest-dev/pytest/pull/4378
Fixes: https://github.com/pytest-dev/pytest/issues/4366
2018-11-13 09:02:52 +01:00
Daniel Hahler
27dab4e05f
Fix CallInfo.__repr__ for unfinished call
...
Fixes https://github.com/pytest-dev/pytest/issues/3554
Ref: https://github.com/pytest-dev/pytest/pull/3560
Ref: https://github.com/pytest-dev/pytest/pull/3562
2018-11-13 08:51:43 +01:00
Daniel Hahler
3e05848ab9
AppVeyor: run py{27,37}-xdist first
2018-11-13 01:33:05 +01:00
Daniel Hahler
5902e5a2ce
Travis: move faster builds to baseline
...
- use py27-pexpect,py27-trial,py27-numpy and py37-xdist in baseline,
using pexpect there catches errors with pdb tests early, and
py37-xdist is much faster than py37.
- move py34 and py36 out of baseline.
2018-11-13 01:26:22 +01:00
Bruno Oliveira
243d898b38
Merge pull request #4373 from blueyed/py37-by-default
...
CI: use py37 instead of py36 by default
2018-11-12 20:56:10 -02:00
Aly Sivji
2bffd6829e
Move dataclass tests for 3.7 to separate file
2018-11-12 15:36:16 -06:00
Bruno Oliveira
f8f22d29ee
Use a custom cache directory for test_stepwise tests
...
Otherwise the tests will use tox's env cache which makes them flaky
2018-11-12 16:57:39 -02:00
Bruno Oliveira
dc20dedbc7
Change RemovedInPytest4Warnings to errors by default
...
To keep existing tests which emit RemovedInPytest4Warnings running, decided
to go with a command line option because:
* Is harder to integrate an ini option with tests which already use an ini file
* It also marks tests which need to be removed/updated in 4.1, when
RemovedInPytest4Warning and related functionality are removed.
Fix #3737
2018-11-12 16:10:57 -02:00
Aly Sivji
4e99c80425
have tests pass in python37; move to separate file
2018-11-12 11:24:15 -06:00
Bruno Oliveira
3cec1482eb
Merge branch 'master' into py37-by-default
2018-11-12 14:03:59 -02:00
Bruno Oliveira
0df5ce4082
Fix basepython for linting testenv in tox.ini
2018-11-12 14:03:04 -02:00
Bruno Oliveira
93a9836962
Merge pull request #4374 from blueyed/doctesting
...
CI: doctesting uses coverage, fiy py37 on AppVeyor
2018-11-12 13:57:58 -02:00
Aly Sivji
a663f60b05
cr 2/n -- refactor compare eq class
2018-11-12 09:28:47 -06:00
Aly Sivji
e1e81e315e
code review 1/n -- change hasattr to getattr
2018-11-12 09:28:47 -06:00
Aly Sivji
025d160dfc
Update tests to pass in py27
2018-11-12 09:28:47 -06:00
Aly Sivji
a3e388a73a
Improve changelog
2018-11-12 09:28:47 -06:00
Aly Sivji
1847cc7420
adding docs and cleaning up
2018-11-12 09:28:47 -06:00
Aly Sivji
87b019d5f9
fix gitignore
2018-11-12 09:28:47 -06:00
Aly Sivji
1184db8273
cleaning up
2018-11-12 09:28:47 -06:00
Aly Sivji
a0ba881c22
Add change to log; name to AUTHORS
2018-11-12 09:28:47 -06:00
Aly Sivji
d42f1e87c3
Add tests for attrs and dataclasses
2018-11-12 09:28:47 -06:00
Aly Sivji
9769bc05c6
moving plugin inside pytest first pass
2018-11-12 09:20:56 -06:00
Daniel Hahler
935b106213
CI: use py37 instead of py36 by default
...
Closes https://github.com/pytest-dev/pytest/issues/4370 .
2018-11-12 03:16:52 +01:00
Daniel Hahler
74366426b9
Travis: use last TOXENV for PATH
2018-11-11 22:08:45 +01:00
Daniel Hahler
9628242423
CI: doctesting uses coverage, fiy py37 on AppVeyor
2018-11-11 21:49:59 +01:00
Bruno Oliveira
9af613bef2
Merge pull request #4372 from nicoddemus/release-3.10.1
...
Release version 3.10.1
2018-11-11 15:35:21 -02:00
Bruno Oliveira
7b833ce5f9
Merge pull request #4368 from blueyed/toxenv-coverage
...
Travis: use coverage from existing tox env [skip appveyor]
2018-11-11 11:57:20 -02:00
Bruno Oliveira
11a9cbd50b
Merge pull request #4365 from blueyed/xenial
...
Travis: use Xenial by default [skip appveyor]
2018-11-11 11:55:06 -02:00
Bruno Oliveira
2626bd9afa
Preparing release version 3.10.1
2018-11-11 13:43:04 +00:00
Bruno Oliveira
b6f16abfe0
Merge pull request #4369 from blueyed/cleanup
...
Cleanup/follow-up to #4319
2018-11-11 11:38:06 -02:00
Bruno Oliveira
e5a9f92dfb
Merge pull request #4337 from blueyed/fix-sym
...
Fix collection of symlinked files
2018-11-11 11:36:31 -02:00
Daniel Hahler
a6ff5e6bfc
Cleanup/follow-up to #4319
2018-11-11 01:38:34 +01:00
Daniel Hahler
be15ad8d25
Fix collection of direct symlinked files not in python_files
...
Fixes https://github.com/pytest-dev/pytest/issues/4325 .
2018-11-11 01:37:06 +01:00
Daniel Hahler
dc9ceda5d2
Travis: use Xenial by default [skip appveyor]
2018-11-11 01:02:06 +01:00
Daniel Hahler
825085f699
Travis: use coverage from existing tox env [skip appveyor]
2018-11-11 00:59:46 +01:00