Ronny Pfannschmidt
5d2d64c190
Merge pull request #4057 from jeffreyrack/4051-improve-error-messaging
...
Improve error messaging when invalid syntax is passed to the -m option
2018-10-01 07:16:59 +02:00
Jeffrey Rackauckas
7a6d16c1eb
Adding .rst to end of changelog fragment filename.
2018-09-30 18:45:49 -07:00
Jeffrey Rackauckas
c2179c3127
Improve error messaging when invalid syntax is passed to the -m option
2018-09-30 18:34:56 -07:00
Bruno Oliveira
d8d7f73e1c
Merge pull request #4045 from nicoddemus/root-conftest-warning-workaround-4039
...
Do not issue non-top-level conftest warning when --pyargs is used
2018-09-27 09:26:11 -03:00
Ronny Pfannschmidt
3c23b5b010
Merge pull request #4037 from nicoddemus/deprecate-item-warnings-captured-hook
...
Document that item parameter of pytest_warning_captured hook is deprecated
2018-09-27 13:20:26 +02:00
Bruno Oliveira
783019a8e6
Rename 4040.trivial.rst to 4040.bugfix.rst
2018-09-27 08:08:03 -03:00
Bruno Oliveira
d2fc7ca6e0
Merge pull request #4041 from Zac-HD/user-properties-type
...
Ensure user_properties is a list
2018-09-27 08:04:30 -03:00
Bruno Oliveira
2d06927a06
Merge pull request #4040 from ods/summary_passes_less_noisy
...
Exclude empty reports for passed tests
2018-09-27 08:01:58 -03:00
Denis Otkidach
44d29d887e
Changelog entry on excluding empty reports for passed tests
2018-09-26 19:02:35 +03:00
Bruno Oliveira
32c5a113e2
Do not issue non-top-level conftest warning when --pyargs is used
...
Fix #4039
2018-09-26 12:02:08 -03:00
Bruno Oliveira
ba5630e0f8
Simplify test_pytest_plugins_in_non_top_level_conftest_deprecated
2018-09-26 10:49:14 -03:00
Denis Otkidach
808df48ee8
Test for excluding empty reports for passed tests
2018-09-26 16:44:00 +03:00
Zac-HD
a089a9577e
Succinct definition of user_properties
2018-09-26 22:40:11 +10:00
Zac-HD
6be2136f20
Ensure user_properties is a list
2018-09-26 22:04:50 +10:00
Denis Otkidach
f9ab81a493
Exclude empty reports for passed tests
2018-09-26 11:55:39 +03:00
Bruno Oliveira
1636522563
Document that item parameter of pytest_warning_captured hook is deprecated
...
Our policy is to not deprecate features during bugfix releases, but in this
case I believe it makes sense as we are only documenting it as deprecated,
without issuing warnings which might potentially break test suites.
This will get the word out that hook implementers should not use this parameter
at all.
Fix #4036
2018-09-25 17:38:22 -03:00
Bruno Oliveira
b1fbb2ab92
Merge pull request #4032 from hjwp/patch-1
...
add documentation of register_assert_rewrite
2018-09-25 08:43:29 -03:00
Daniel Hahler
e85edf5212
Merge pull request #4029 from nicoddemus/warnings-example-deprecation-docs
...
Add an example on how to update config.warn calls
2018-09-25 13:25:21 +02:00
Bruno Oliveira
b03bad5dbb
Fix linting
2018-09-25 08:12:55 -03:00
Harry Percival
19ec300b2a
fix rst syntax again
2018-09-25 06:58:47 +01:00
Harry Percival
11442f2ad7
fix rst syntax thing
2018-09-25 06:57:33 +01:00
Harry Percival
97748b6605
mention conftest.py as a good place to do it.
2018-09-25 06:55:28 +01:00
Harry Percival
2b762337bd
add documentation of register_assert_rewrite
...
wip
2018-09-25 06:49:50 +01:00
Bruno Oliveira
9899b8f1fb
Add an example on how to update config.warn calls
...
As commented in https://github.com/pytest-dev/pytest-cov/pull/230#pullrequestreview-157958838
2018-09-23 22:42:09 -03:00
Anthony Sottile
4474beeb82
Typo fix [ci skip]
2018-09-23 18:07:28 -07:00
Ronny Pfannschmidt
5d8467bedc
Merge pull request #4023 from nicoddemus/deprecated-3.9
...
Add 3.9 deprecated features to deprecations.rst
2018-09-23 18:21:32 +02:00
Ronny Pfannschmidt
eca3e781b6
Merge pull request #4022 from iwanb/fix_reload
...
Fix #3539 : reload module with assertion rewrite import hook
2018-09-23 18:17:56 +02:00
Bruno Oliveira
0d04aa7c59
Add 3.9 deprecated features to deprecations.rst
2018-09-23 09:26:12 -03:00
iwanb
c61ff31ffa
Fix #3539 : reload module with assertion rewrite import hook
2018-09-23 13:05:55 +02:00
Ronny Pfannschmidt
e03a19f88d
Merge pull request #4021 from nicoddemus/merge-master-into-features
...
Merge master into features
2018-09-23 11:57:05 +02:00
Bruno Oliveira
fcc5b6d604
Add "deprecation" to possible changelog entries in pre-commit
2018-09-22 18:43:22 -03:00
Bruno Oliveira
42afce27b3
Merge pull request #4019 from nicoddemus/deprecation-warnings-4013
...
Show deprecation warnings even if filters are customized
2018-09-22 18:17:07 -03:00
Bruno Oliveira
56d0b5a7e2
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2018-09-22 18:14:36 -03:00
Ankit Goel
ec57cbf82d
Merge pull request #4020 from crazymerlyn/release-3.8.1
...
Preparing release version 3.8.1
2018-09-23 00:56:27 +05:30
CrazyMerlyn
3f6a46c2a4
Preparing release version 3.8.1
2018-09-22 16:34:06 +00:00
Bruno Oliveira
c30184709d
Show deprecation warnings even if filters are customized
...
Fix #4013
2018-09-22 10:25:57 -03:00
Bruno Oliveira
4ba3cb25b0
Merge pull request #4016 from williamjamir/patch-1
...
Include Python 3.7 on getting started doc
2018-09-21 20:02:25 -03:00
William Jamir Silva
650c458df9
Include Python 3.7 on getting started doc
...
Close #3932
2018-09-21 19:18:51 -03:00
Ankit Goel
58aa4f91f5
Merge pull request #4012 from maxalbert/fix-docstring-typo
...
Fix typo in docstring
2018-09-21 22:07:57 +05:30
Maximilian Albert
9b382ed16c
Fix typo in docstring
2018-09-21 17:11:15 +01:00
Ronny Pfannschmidt
f02dbaf97f
Merge pull request #4010 from nicoddemus/package-len-error-3749
...
Fix 'Package has no len()' error during collection
2018-09-21 07:40:20 +02:00
Bruno Oliveira
41f6ea13ce
Fix 'Package has no len()' error during collection
...
Fix #3749
2018-09-20 17:53:21 -03:00
Ronny Pfannschmidt
f6eb39df33
Merge pull request #4001 from asottile/fix_bytes_repr_text_mix_python_2
...
Fix UnicodeDecodeError in assertion with mixed non-ascii bytes repr + text
2018-09-20 22:16:37 +02:00
Bruno Oliveira
7a5e11bbcf
Merge pull request #3997 from nicoddemus/deprecation-docs
...
Introduce deprecations page
2018-09-20 08:22:51 -03:00
Anthony Sottile
7122fa5613
Fix UnicodeDecodeError in assertion with mixed non-ascii bytes repr + text
2018-09-19 20:24:00 -07:00
Bruno Oliveira
7aff81739e
Merge pull request #3998 from blueyed/logging-del
...
logging: del item.catch_log_handler only in teardown
2018-09-19 20:07:19 -03:00
Bruno Oliveira
27772f67c0
Merge pull request #3987 from nicoddemus/fix-find-scope-3941
...
Fix scope determination with indirect parameters
2018-09-19 20:06:45 -03:00
Bruno Oliveira
10b3b2dc68
Merge pull request #3990 from blueyed/coverage-source
...
coverage: use modules
2018-09-19 19:55:11 -03:00
Bruno Oliveira
c2841542af
Introduce deprecations page
...
fix #3996
2018-09-19 19:51:29 -03:00
wim glenn
1f28096587
Merge pull request #4003 from pytest-dev/wimglenn-patch-1
...
seems this subdir is now .pytest_cache not .cache
2018-09-19 14:49:38 -05:00