Daniel Hahler
28bf3816e7
tests: conftest: auto-add slow marker
2019-05-30 06:55:38 +02:00
Daniel Hahler
d6ce2e5858
Merge pull request #5322 from blueyed/pdb-wrapper
...
pdb: move/refactor initialization of PytestPdbWrapper
2019-05-30 06:39:25 +02:00
Daniel Hahler
5ac498ea96
ci: Travis: add pypy3 to allowed failures temporarily
...
Ref: https://github.com/pytest-dev/pytest/pull/5334
Ref: https://github.com/pytest-dev/pytest/issues/5317
2019-05-30 06:37:53 +02:00
Daniel Hahler
6765aca0d1
Merge master into features
2019-05-30 06:33:04 +02:00
Daniel Hahler
72fc43952b
Merge pull request #5336 from blueyed/fix-pexpect
...
Fix pexpect tests on MacOS
2019-05-30 06:31:11 +02:00
Daniel Hahler
6896dbc5ca
tox: pexpect: use "-m uses_pexpect"
2019-05-30 03:52:41 +02:00
Daniel Hahler
49c6aebbc7
ci: Travis: test with pexpect on macos
...
Uses `PYTEST_COVERAGE=1` already, which will come in via dropping
Python 2 soon anyway.
2019-05-30 03:51:33 +02:00
Daniel Hahler
fb12d2a612
test_enter_leave_pdb_hooks_are_called: remove child.sendeof()
2019-05-30 03:09:36 +02:00
Daniel Hahler
8e51563384
tests: pdb: flush also on MacOS, but read() before
...
Ref: https://github.com/pytest-dev/pytest/issues/2022
2019-05-30 03:09:36 +02:00
Daniel Hahler
61dfd0a94f
pdb: move/refactor initialization of PytestPdbWrapper
2019-05-30 03:00:07 +02:00
Bruno Oliveira
f9cafd1c94
Add missing junitxml ini options to the reference docs
2019-05-29 21:13:16 -03:00
Bruno Oliveira
b10f28949d
Add the junit_log_passing_tests ini flag to skip logging output for passing tests. ( #5052 )
...
Add the junit_log_passing_tests ini flag to skip logging output for passing tests.
2019-05-29 20:56:13 -03:00
Bruno Oliveira
b0f090890c
Merge master into features ( #5332 )
...
Merge master into features
2019-05-29 20:39:27 -03:00
Daniel Hahler
f0a4a13e48
Merge pull request #5333 from blueyed/fix-lf
...
Fix regression with --lf and non-selected failures
2019-05-30 01:24:07 +02:00
Daniel Hahler
ff80464b47
last-failed: display skipped-files msg always
2019-05-29 23:32:52 +02:00
Daniel Hahler
480dd9e6d6
last_failed_paths: improve caching
2019-05-29 23:28:58 +02:00
Daniel Hahler
ceb4f3f701
fixup! Fix regression with --lf and non-selected failures
2019-05-29 23:24:52 +02:00
Thomas Hisch
ea3ebec117
logging: Improve formatting of multiline message
2019-05-29 23:21:14 +02:00
Daniel Hahler
bf3b26b3f7
Fix regression with --lf and non-selected failures
2019-05-29 22:44:43 +02:00
Thomas Hisch
84569ca4da
Merge pull request #5311 from thisch/coloredcaplog
...
Use same code for setting up cli/non-cli formatter
2019-05-29 22:18:43 +02:00
Daniel Hahler
af21e6b45c
Merge master into features
...
(dropping the temporary pinning of pluggy (2e2e895b4
))
2019-05-29 22:15:25 +02:00
Daniel Hahler
5c5966f62d
Merge pull request #5331 from blueyed/conftest
...
tests: conftest: fix collection of slow/slowest items
2019-05-29 22:13:52 +02:00
Thomas Hisch
31b1c4ca0c
Update changelog/5311.feature.rst
...
Co-Authored-By: Daniel Hahler <github@thequod.de>
2019-05-29 22:00:34 +02:00
Daniel Hahler
61b76c7f5f
tests: conftest: fix collection of slow/slowest items
2019-05-29 21:35:05 +02:00
Bruno Oliveira
c35544a0f7
conftest: add uses_pexpect mark ( #5314 )
...
conftest: add uses_pexpect mark
2019-05-28 20:00:36 -03:00
Bruno Oliveira
5bc3ad8e27
minor: getbasetemp: dedent, improve assert ( #5327 )
...
minor: getbasetemp: dedent, improve assert
2019-05-28 19:59:43 -03:00
Bruno Oliveira
a930ca0b45
Remove _pytest.compat.NoneType ( #5326 )
...
Remove _pytest.compat.NoneType
2019-05-28 19:58:17 -03:00
Thomas Hisch
d4b85da8c7
Use same code for setting up cli/non-cli formatter
...
A method _create_formatter was introduced that is used for both the
log_cli_formatter and the log_formatter.
Consequences of this commit are:
* Captured logs that are output for each failing test are formatted
using the ColoredLevelFromatter.
* The formatter used for writing to a file still uses the non-colored
logging.Formatter class.
2019-05-28 21:30:34 +02:00
Daniel Hahler
0025e4408f
conftest: add uses_pexpect mark
2019-05-28 18:41:01 +02:00
Anthony Sottile
81cc73103a
Merge pull request #5325 from asottile/temporary
...
Temporarily pin pluggy on master
2019-05-28 09:37:04 -07:00
Daniel Hahler
97d8e9fbec
minor: getbasetemp: dedent, improve assert
2019-05-28 18:26:10 +02:00
Daniel Hahler
220a2a1bc9
Remove _pytest.compat.NoneType
2019-05-28 18:16:18 +02:00
Anthony Sottile
2e2e895b4b
Temporarily pin pluggy on master
2019-05-28 09:02:23 -07:00
Bruno Oliveira
bce45052a6
Correct some tiny typos in changelog ( #5323 )
...
Correct some tiny typos in changelog
2019-05-28 12:41:05 -03:00
Anthony Sottile
2f48ae4e66
Correct some tiny typos in changelog
2019-05-28 08:11:18 -07:00
Evan Kepner
2dfbed11b4
fix path expansion example
2019-05-27 23:23:18 -04:00
Evan Kepner
24c95c78e7
add updated monkeypatch examples
2019-05-27 20:55:15 -04:00
Daniel Hahler
6061ecf95a
Merge master into features ( #5319 )
2019-05-28 02:15:15 +02:00
Daniel Hahler
e032904413
Merge master into features
2019-05-28 01:46:16 +02:00
Bruno Oliveira
ece774f0eb
pdb: import pdbcls lazily ( #5307 )
...
pdb: import pdbcls lazily
2019-05-27 20:23:39 -03:00
Bruno Oliveira
bc49d6ff99
Update docs about py27 and py34 support plans ( #5316 )
...
Update docs about py27 and py34 support plans
2019-05-27 20:22:31 -03:00
Bruno Oliveira
2b9ca34280
Unroll calls to any #5062 ( #5103 )
...
Unroll calls to any #5062
2019-05-27 20:17:44 -03:00
Bruno Oliveira
e38561037d
Update docs about py27 and py34 support plans
...
As discussed in #5275
2019-05-27 19:28:27 -03:00
Anthony Sottile
0a57124063
Merge pull request #5063 from asottile/importlib_metadata_v2
...
Switch to importlib-metadata
2019-05-27 15:00:12 -07:00
Anthony Sottile
13f02af97d
Switch to importlib-metadata
2019-05-27 13:24:08 -07:00
Daniel Hahler
f2ed796c41
pdb: import pdbcls lazily
...
Fixes https://github.com/pytest-dev/pytest/issues/2064 .
2019-05-26 15:56:38 +02:00
Anthony Sottile
b3f8fabac8
Merge pull request #5308 from blueyed/minor
...
Minor fixes
2019-05-25 21:58:39 -07:00
Tomer Keren
22d91a3c3a
Unroll calls to all on python 2
2019-05-25 19:34:08 +03:00
Tomer Keren
322a0f0a33
Fix mention of issue #5062 in docstrings
2019-05-25 19:34:08 +03:00
Tomer Keren
58149459a5
Mark visit_all as a private method
2019-05-25 19:34:08 +03:00