Daniel Hahler
|
2b1ae8a66d
|
__tracebackhide__ for check
|
2019-04-06 15:00:23 +02:00 |
Daniel Hahler
|
2ebb69b50a
|
py2 fixes
|
2019-04-06 15:00:12 +02:00 |
Daniel Hahler
|
4fca86e2af
|
testdir.popen: use kwargs with defaults for stdout/stderr
|
2019-04-06 12:13:48 +02:00 |
Daniel Hahler
|
9ad00714ba
|
pytester: allow passing in stdin to run/popen
|
2019-04-06 12:13:28 +02:00 |
Bruno Oliveira
|
b549438423
|
Merge pull request #5058 from blueyed/merge-master-into-features
Merge master into features
|
2019-04-05 14:28:48 -03:00 |
Daniel Hahler
|
377888140f
|
Merge master into features
Conflicts:
testing/test_pdb.py
|
2019-04-05 17:50:32 +02:00 |
Daniel Hahler
|
df377b589f
|
use wcwidth
|
2019-04-05 17:43:11 +02:00 |
Bruno Oliveira
|
87ce586d29
|
Merge pull request #5055 from blueyed/showhelp-lazy-fullwidth
showhelp: move tw.fullwidth out of the loop
|
2019-04-05 12:11:47 -03:00 |
Daniel Hahler
|
f599172add
|
test with 😄 in message
|
2019-04-05 16:08:11 +02:00 |
Daniel Hahler
|
e20b39d928
|
showhelp: move tw.fullwidth out of the loop
|
2019-04-05 15:14:02 +02:00 |
Bruno Oliveira
|
4f33f46a02
|
Merge pull request #5026 from blueyed/compare-len-diff
Display number of different items with sequence/dict comparisons
|
2019-04-05 08:53:48 -03:00 |
Daniel Hahler
|
159704421e
|
change separator to hyphen
|
2019-04-05 12:21:24 +02:00 |
Daniel Hahler
|
0f965e57a2
|
changelog, fix branch coverage
|
2019-04-05 12:12:29 +02:00 |
Daniel Hahler
|
8011ff5bda
|
Add _sys_snapshot fixture and use it with more tests
|
2019-04-05 11:55:23 +02:00 |
Daniel Hahler
|
899e74aa14
|
tests: harden test_immediate_initialiation_and_incremental_are_the_same
|
2019-04-05 11:55:23 +02:00 |
Daniel Hahler
|
66f743c45a
|
Fix test_conftest when run via pytest-randomly
|
2019-04-05 11:55:23 +02:00 |
Daniel Hahler
|
8ad99c5cab
|
Merge pull request #5035 from blueyed/cache-glob
Support glob argument with ``--cache-show``
|
2019-04-05 10:25:19 +02:00 |
Daniel Hahler
|
37ecca3ba9
|
factor out _get_line_with_reprcrash_message
|
2019-04-04 22:13:28 +02:00 |
Daniel Hahler
|
3d0ecd03ed
|
Display message from reprcrash in short test summary
This is useful to see common patterns easily, but also for single
failures already.
|
2019-04-04 18:49:13 +02:00 |
Daniel Hahler
|
eb5b2e0db5
|
Support glob argument with ``--cache-show``
|
2019-04-04 18:10:39 +02:00 |
Daniel Hahler
|
47d92a0d96
|
Add tests and improve messages
|
2019-04-04 17:53:39 +02:00 |
Daniel Hahler
|
7f1bf44aa8
|
_compare_eq_dict: display number of different items
|
2019-04-04 17:16:21 +02:00 |
Daniel Hahler
|
5fec793bc7
|
_compare_eq_sequence: display number of extra items
|
2019-04-04 17:16:21 +02:00 |
Bruno Oliveira
|
e04936fc29
|
Merge pull request #5042 from blueyed/merge-regen-master-into-features
Merge master into features (with regen)
|
2019-04-04 10:44:30 -03:00 |
Daniel Hahler
|
13a9d876f7
|
Merge pull request #5037 from blueyed/regen
docs: revisit/fix regen
|
2019-04-04 13:36:47 +02:00 |
Ondřej Súkup
|
77526f412c
|
Skip test_source_mtime_long_long on 32bit and lower platforms
|
2019-04-04 13:14:46 +02:00 |
Daniel Hahler
|
0d4636b056
|
Merge pull request #5034 from blueyed/run-last-failure-report
run-last-failure: improve reporting
|
2019-04-04 00:40:40 +02:00 |
Daniel Hahler
|
a65edf6711
|
Merge pull request #5028 from blueyed/fix-wrap_session-exit-code
wrap_session: restore old behavior for initstate=1
|
2019-04-04 00:39:38 +02:00 |
Bruno Oliveira
|
973301b675
|
Merge pull request #5041 from blueyed/fix-pdbcls-regression
pdb: try to import --pdbcls in pytest_configure only
|
2019-04-03 19:23:43 -03:00 |
Daniel Hahler
|
757ada2fd2
|
pdb: try to import --pdbcls in pytest_configure only
Fixes https://github.com/pytest-dev/pytest/issues/5039.
|
2019-04-03 22:35:18 +02:00 |
Daniel Hahler
|
e88aa957ae
|
Merge pull request #4854 from blueyed/pdb-skip
pdb: add option to skip `pdb.set_trace()`
|
2019-04-03 22:25:38 +02:00 |
Daniel Hahler
|
8907fedc79
|
Merge master into features (with regen branch)
|
2019-04-03 22:11:00 +02:00 |
Daniel Hahler
|
befc8a3f10
|
Update via https://github.com/pytest-dev/regendoc/pull/8
|
2019-04-03 22:08:44 +02:00 |
Daniel Hahler
|
5935fbaa7a
|
doc/en/Makefile: stabilize output between regendoc versions
|
2019-04-03 22:07:33 +02:00 |
Daniel Hahler
|
e8eaebe595
|
tox.ini: regen: clear pytest cache for stable outcome
|
2019-04-03 19:53:00 +02:00 |
Daniel Hahler
|
cec2dd6a7c
|
doc/en/Makefile: allow passing in REGENDOC_FILES
This allows for:
> make -C doc/en regen REGENDOC_FILES=example/parametrize.rst
|
2019-04-03 19:53:00 +02:00 |
Daniel Hahler
|
266bf2c007
|
doc: make regen: replace trailing spaces already
|
2019-04-03 17:34:26 +02:00 |
Daniel Hahler
|
1f5a61e4ef
|
run-last-failure: improve reporting
|
2019-04-03 16:27:12 +02:00 |
Bruno Oliveira
|
46df1d5fcf
|
Merge pull request #5031 from blueyed/pytester-addopts
pytester: use monkeypatch with Testdir
|
2019-04-03 11:26:49 -03:00 |
Daniel Hahler
|
d91527599a
|
pytester: use monkeypatch with Testdir
|
2019-04-03 15:02:53 +02:00 |
Bruno Oliveira
|
1410d3dc9a
|
Merge pull request #5029 from blueyed/minor
Minor: doc, import
|
2019-04-03 08:58:12 -03:00 |
Daniel Hahler
|
7538aa7bb9
|
minor: check_interactive_exception: use Skipped
|
2019-04-03 11:45:45 +02:00 |
Daniel Hahler
|
db34bf01b6
|
doc: minor whitespace, punctuation
|
2019-04-03 11:45:45 +02:00 |
Daniel Hahler
|
9434541090
|
doc: mention that pytest.fixture's param is in request.param
|
2019-04-03 11:45:45 +02:00 |
Daniel Hahler
|
cc90bcce4c
|
wrap_session: restore old behavior for initstate=1
|
2019-04-03 05:09:21 +02:00 |
Bruno Oliveira
|
15ea5cef46
|
Merge pull request #4943 from blueyed/remove-silence_logging_at_shutdown
capture: do not set logging.raiseExceptions = False
|
2019-04-02 22:46:15 -03:00 |
Daniel Hahler
|
32a8d503a2
|
Merge pull request #5005 from blueyed/essential_plugins
Split out list of essential plugins
|
2019-04-03 02:45:19 +02:00 |
Daniel Hahler
|
8c734dfc2f
|
Split out list of essential plugins
Fixes https://github.com/pytest-dev/pytest/issues/4976.
|
2019-04-02 14:39:56 +02:00 |
Daniel Hahler
|
08ded2927a
|
capture: do not set logging.raiseExceptions = False
Ref: https://github.com/pytest-dev/pytest/issues/4942
|
2019-04-02 13:20:39 +02:00 |
Zac Hatfield-Dodds
|
1c9dcf1f39
|
Merge pull request #4935 from Zac-HD/warn-unknown-marks
Emit warning on unknown marks via decorator
|
2019-04-02 21:29:09 +11:00 |