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
Daniel Hahler
b1312147e0
Merge pull request #4358 from blueyed/instance
...
Node: do not add "::()" to nodeid
2018-11-11 00:42:57 +01:00
Daniel Hahler
7ab3d818f0
Merge pull request #4356 from blueyed/fix-equal_with_bash
...
tests: fix equal_with_bash to handle appearing .coverage files
2018-11-11 00:42:23 +01:00
Daniel Hahler
f551cb9677
Skip Instances with --collect-only
2018-11-10 23:48:02 +01:00
Daniel Hahler
87254ca593
Add test for --deselect without "::()"
...
Closes: https://github.com/pytest-dev/pytest/issues/4127 .
2018-11-10 23:46:41 +01:00
Daniel Hahler
ac8b9c6e9d
Node: do not add "::()" to nodeid
...
Fixes https://github.com/pytest-dev/pytest/issues/4127 .
2018-11-10 23:46:41 +01:00
Daniel Hahler
b51c1c3b8d
tests: fix equal_with_bash for .coverage files
...
Fixes https://github.com/pytest-dev/pytest/issues/4162 .
2018-11-10 03:24:02 +01:00
Daniel Hahler
e14ca19988
Merge pull request #4352 from blueyed/_check_initialpaths_for_relpath
...
Fix nodes._check_initialpaths_for_relpath for dirs
2018-11-10 03:18:36 +01:00
Ronny Pfannschmidt
10d27f412b
Merge pull request #4360 from blueyed/merge-master
...
Merge master into features
2018-11-09 17:26:40 +01:00
Daniel Hahler
bee72a6622
Fix nodes._check_initialpaths_for_relpath for dirs
...
Ref: https://github.com/pytest-dev/pytest/issues/4321#issuecomment-436951894
Hardens some of the not many tests affected by this:
1. `testing/test_session.py::test_rootdir_option_arg` displayed:
> root/test_rootdir_option_arg2/test_rootdir_option_arg.py
2. `test_cmdline_python_namespace_package` displayed "hello/" prefix for:
> hello/test_hello.py::test_hello
> hello/test_hello.py::test_other
2018-11-09 13:16:59 +01:00
Daniel Hahler
1b260a844f
Merge branch 'master' into features
2018-11-09 12:49:55 +01:00
Bruno Oliveira
e00f3a2fb7
Merge pull request #4353 from blueyed/test_fileimport
...
tests: test_fileimport: improve reporting on failure
2018-11-09 08:32:49 -02:00
Daniel Hahler
b92530de78
Merge pull request #4271 from blueyed/pytest_cache
...
cache_dir: use $TOX_ENV_DIR/ prefix if set
2018-11-09 09:09:45 +01:00
Daniel Hahler
afaad2f82b
Merge pull request #4354 from blueyed/minor
...
A set of minor changes from my Git stashes
2018-11-09 08:25:17 +01:00
Daniel Hahler
a507f44465
cache_dir: use $TOX_ENV_DIR/ prefix if set
...
Fixes https://github.com/pytest-dev/pytest/issues/4270
2018-11-09 05:29:28 +01:00
Daniel Hahler
d4fdf793b5
Merge pull request #4350 from blueyed/fix-macos-py37
...
Travis: fix MacOS py37 build
2018-11-09 02:05:47 +01:00
Daniel Hahler
feccf532d2
doc: improve runpytest_subprocess
2018-11-09 02:03:44 +01:00
Daniel Hahler
859b322773
doc: improve/simplify doc for breakpoint behavior
2018-11-09 02:03:44 +01:00
Daniel Hahler
4a74d455de
minor: typos
2018-11-09 02:03:44 +01:00
Daniel Hahler
c1bde8e0a2
minor: check bool before function call
2018-11-09 01:37:51 +01:00
Daniel Hahler
560c055b09
Session._collect: use reversed parts
2018-11-09 01:36:20 +01:00
Daniel Hahler
a0890f98d8
tests: harden test_config_error
2018-11-09 01:31:53 +01:00