Bruno Oliveira
2aad8c0fce
Merge pull request #3147 from nicoddemus/issue-3103
...
'-o' option no longer swallows all other non-options after it
2018-01-25 10:41:18 -02:00
Bruno Oliveira
3f5e9ea71e
Fix -o behavior to no longer swallow all remaining options
...
The current behavior was too error-prone because a "-o" option would
swallow all the following non-option parameters:
pytest -o foo=bar path/to/test.py
path/to/test.py would be captured by the -o option, and would fail
because "path/to/test.py" is not in the format "key=value".
2018-01-23 21:19:16 -02:00
Bruno Oliveira
443275f025
Reword changelog a bit
2018-01-23 21:19:04 -02:00
Bruno Oliveira
8426c57a9e
Ensure changes in the message in the future do not make the test pass by accident
2018-01-23 21:18:59 -02:00
Aron Coyle
30ca9f9d38
Add endline
2018-01-23 21:18:51 -02:00
Aron Coyle
46d87deb5d
Add changelog update authors
2018-01-23 21:18:45 -02:00
Aron Coyle
203508d9f3
cleanup test cases
2018-01-23 21:18:37 -02:00
Andrew Toolan
2c7f94fdb9
Added basic fix and test
2018-01-23 21:18:10 -02:00
Bruno Oliveira
3b3d237f07
Merge pull request #3117 from boxed/access_logs_in_teardown
...
Access captures logs in teardown
2018-01-20 11:21:17 -02:00
Bruno Oliveira
c4c968fe69
Reword CHANGELOG after introduction of caplog.get_handler()
2018-01-20 11:14:09 -02:00
Anders Hovmöller
7ea5a22657
Access captures logs in teardown
2018-01-19 12:42:35 +01:00
Florian Bruhin
1fd67c9000
Merge pull request #3121 from feuillemorte/2953-keyword-expressions-error
...
#2953 show a simple and easy error when keyword expressions trigger a syntax error
2018-01-17 19:00:22 +01:00
Bruno Oliveira
e3406e0818
Show usage errors in red
2018-01-16 19:35:32 -02:00
feuillemorte
dc79116de3
Merge branch '2953-keyword-expressions-error' of github.com:feuillemorte/pytest into 2953-keyword-expressions-error
2018-01-16 23:36:40 +03:00
feuillemorte
8433e2ba04
#2953 fix comments: fix exception type
2018-01-16 23:35:57 +03:00
Bruno Oliveira
86e1b44230
Improve changelog formatting
2018-01-16 18:10:15 -02:00
feuillemorte
5d3f7d7142
Merge branch '2953-keyword-expressions-error' of github.com:feuillemorte/pytest into 2953-keyword-expressions-error
2018-01-16 22:56:23 +03:00
feuillemorte
648d5d0c6b
#2953 fix comments: use keyword module
2018-01-16 22:55:24 +03:00
feuillemorte
dff597dcd0
Add changelog entry
2018-01-16 21:34:13 +03:00
feuillemorte
076fb56f85
show a simple and easy error when keyword expressions trigger a syntax error
2018-01-16 21:30:44 +03:00
Ronny Pfannschmidt
01e37fe892
Merge pull request #3110 from nicoddemus/progress-teardown-3088
...
Fix progress report when tests fail during teardown
2018-01-12 11:09:01 +01:00
Bruno Oliveira
abbdb60051
Move logic determining if progress should be displayed to a function
2018-01-12 07:04:43 -02:00
Bruno Oliveira
5939b336cd
Fix progress report when tests fail during teardown
...
Fix #3088
2018-01-11 20:42:05 -02:00
Ronny Pfannschmidt
b0032ba2b3
Merge pull request #3102 from nicoddemus/logfinish-hook-3101
...
Add new pytest_runtest_logfinish hook
2018-01-10 07:57:35 +01:00
Bruno Oliveira
b68b80aec9
Add new pytest_runtest_logfinish hook
...
Fix #3101
2018-01-09 22:17:39 -02:00
Bruno Oliveira
93306f6a5e
Merge remote-tracking branch 'upstream/master' into features
2018-01-09 18:41:00 -02:00
Bruno Oliveira
962aede290
Merge pull request #3096 from nicoddemus/import-warnings
...
Ignore ImportWarnings regarding package resolution
2018-01-09 18:40:33 -02:00
Ronny Pfannschmidt
a8d3d329ec
Merge pull request #3098 from uranusjr/pep426-setuptools-36.2.1
...
Add support for new environment marker usages
2018-01-09 18:21:06 +01:00
Tzu-ping Chung
b256cd2a6a
Add support for new environment marker usages
2018-01-09 21:34:11 +08:00
Bruno Oliveira
b6b36bc167
Handle pluggy package or module for traceback filtering
...
Since 0.6.1 pluggy has been turned into a package
2018-01-08 21:29:15 -02:00
Bruno Oliveira
3dd24f8d21
Ignore ImportWarnings regarding package resolution
...
The problem is described/discussed in #3061
Ideally this should be a temporary solution until we find a proper one
which gets rid of the warning
2018-01-08 21:11:08 -02:00
Bruno Oliveira
794fb193ba
Merge pull request #3093 from cryvate/fix-issue-2985-blurb
...
Fix issue 2985 blurb in changelog
2018-01-07 01:18:18 -02:00
Henk-Jaap Wagenaar
d7e1f037d9
Fix issue 2985 blurb in changelog
2018-01-06 22:15:06 +00:00
Bruno Oliveira
29ff9301d8
Merge pull request #3092 from jdufresne/readthedocs
...
Prefer https://*.readthedocs.io over http://*.rtfd.org
2018-01-06 15:53:10 -02:00
Bruno Oliveira
f3c666db3c
Small formatting update in CHANGELOG
2018-01-06 14:08:15 -02:00
Jon Dufresne
b93aa5e35f
Prefer https://*.readthedocs.io over http://*.rtfd.org
...
- Requests URL using https instead of http
- Avoids unnecessary redirect of *.rtfd.org -> *.readthedocs.io
*.rtfd.org exists as a means for pasting short URLs, which doesn't much
apply for links in documentation.
2018-01-06 08:05:42 -08:00
Bruno Oliveira
bc66f7e43f
Merge pull request #3075 from elliterate/bugs/fix-skipping-plugin-reporting
...
Assume not skipped by mark if attribute missing
2018-01-06 13:56:07 -02:00
Bruno Oliveira
06a182386b
Merge pull request #3073 from nicoddemus/pytest_runtestloop-docs
...
Add pytest_runtestloop to the docs
2018-01-05 20:35:51 -02:00
Bruno Oliveira
fac07c1b3f
Merge pull request #3076 from pafonta/patch-1
...
[doc] Reword strange sentence on doctest flags
2018-01-05 09:49:54 -02:00
Bruno Oliveira
e8c0ca4f08
Merge pull request #3064 from nicoddemus/release-3.3.2
...
Preparing release version 3.3.2
2018-01-04 20:42:51 -02:00
Pierre-Alexandre Fonta
ac6f257efc
Create news fragment for the pull request
2018-01-04 14:58:30 +01:00
Pierre-Alexandre Fonta
554cb8d09c
Reword strange sentence on doctest flags
2018-01-04 14:47:05 +01:00
Ian Lesperance
25b504b4f0
Add self to authors list
2018-01-03 18:54:49 -05:00
Ian Lesperance
0a6e086f9d
Add changelog entry
2018-01-03 18:53:32 -05:00
Ian Lesperance
f24c470403
Assume not skipped by mark if attribute missing
...
Fixes #3074 .
2018-01-03 18:47:18 -05:00
Bruno Oliveira
52a7ccef57
Add pytest_runtestloop to the docs
2018-01-03 16:58:57 -02:00
Bruno Oliveira
bd2d0d2c3c
Preparing release version 3.3.2
2017-12-25 20:38:27 +00:00
Bruno Oliveira
08997279f4
Merge pull request #3059 from asottile/yesqa
...
Remove unnecessary `# noqa` comments.
2017-12-22 17:03:02 -02:00
Anthony Sottile
205e29d843
Remove unnecessary `# noqa` comments.
...
Commit automated with https://github.com/asottile/yesqa
2017-12-22 08:29:48 -08:00
Ronny Pfannschmidt
672c901c70
Merge pull request #2784 from RonnyPfannschmidt/fix-fdleaks
...
pytester: ignore files used to obtain current user metadata
2017-12-19 17:08:53 +01:00