Bruno Oliveira
dd6c534468
Remove py<1.5 restriction
...
Fix #2926
2017-11-14 22:08:03 -02:00
Bruno Oliveira
4a0aea2deb
Add missing entry to CHANGELOG for 3.2.4
2017-11-14 22:05:48 -02:00
Bruno Oliveira
54cea3d178
Small formatting changes in CHANGELOG
2017-11-14 18:33:46 -02:00
Bruno Oliveira
9628c71210
Merge pull request #2921 from nicoddemus/release-3.2.4
...
Preparing release version 3.2.4
2017-11-14 18:31:03 -02:00
Bruno Oliveira
a0ad9e31da
Preparing release version 3.2.4
2017-11-13 20:01:17 +00:00
Bruno Oliveira
22cff038f8
Merge pull request #2916 from nicoddemus/bin-py-1.5
...
Pin py<1.5 as 1.5 drops py26 and py33 support
2017-11-13 17:56:52 -02:00
Bruno Oliveira
d26c1e3ad9
Pin py<1.5 as 1.5 drops py26 and py33 support
2017-11-12 21:50:11 -02:00
Bruno Oliveira
259b86b6ab
Merge pull request #2776 from cryporchild/fix-missing-nodeid-with-pyargs
...
Fix #2775 - running pytest with "--pyargs" will result in Items with …
2017-11-12 10:18:35 -02:00
Ronny Pfannschmidt
f0f2d2b861
Merge branch 'master' into fix-missing-nodeid-with-pyargs
2017-11-11 14:33:55 +01:00
Ronny Pfannschmidt
b671c5a8bf
Merge pull request #2914 from nicoddemus/addfinalizer-refactor
...
Make SubRequest.addfinalizer an explicit method
2017-11-11 09:26:24 +01:00
Bruno Oliveira
f320686fe0
Make SubRequest.addfinalizer an explicit method
...
This implicit definition really tripped me while debugging #2127 ,
unfortunately hidden as it was in the middle of all the variable
declarations.
I think the explicit definition is much easier for the eyes and IDEs
to find.
2017-11-11 03:07:34 -02:00
Bruno Oliveira
742f9cb825
Merge pull request #2911 from RonnyPfannschmidt/remove-nodeinfo
...
remove unused _pytest.runner.NodeInfo class
2017-11-10 18:57:14 -02:00
Bruno Oliveira
66fbebfc26
Merge pull request #2894 from nicoddemus/fix-linting-errors
...
Fix linting errors
2017-11-10 18:15:53 -02:00
Ronny Pfannschmidt
76f3be452a
remove unused _pytest.runner.NodeInfo class
2017-11-10 17:48:52 +01:00
Ronny Pfannschmidt
b2b1eb262f
Merge pull request #2906 from nicoddemus/larger-parametrize-section
...
Make the "examples" section more prominent in the docs for parametrize
2017-11-10 10:50:57 +01:00
Ronny Pfannschmidt
9fce430c89
Merge pull request #2907 from nicoddemus/lazy-fixture
...
Mention pytest-lazy-fixture plugin in the proposal for parametrize_with_fixtures
2017-11-10 10:48:48 +01:00
Bruno Oliveira
e114feb458
Mention pytest-lazy-fixture plugin in the proposal for parametrize_with_fixtures
2017-11-09 20:14:24 -02:00
Bruno Oliveira
c09f69df2a
Make the "examples" section more prominent in the docs
...
I spent some time today figuring out why PR #2881 was not showing up
on doc/parametrize... then after some digging even on readthedocs
wondering if the last documentation build had failed, I realized the
docs I was looking for was in doc/example/parametrize instead.
The section that mentions this is very easy to miss, this makes it a
full fledged title and easier to find.
2017-11-09 19:25:30 -02:00
Bruno Oliveira
3900879a5c
Mark test_py2_unicode as xfail in PyPy2 on Windows
...
#2905
2017-11-09 19:17:17 -02:00
Florian Bruhin
7b1cc55add
Merge pull request #2903 from pagles/docs-3.6
...
List python 3.6 in the documented supported versions
2017-11-08 22:57:28 +01:00
Yorgos Pagles
d904981bf3
Rename 2903.trivial to 2903.doc
2017-11-08 18:20:50 +02:00
Yorgos Pagles
f13333afce
Create changelog entry
2017-11-08 18:19:59 +02:00
Yorgos Pagles
fad1fbe381
List python 3.6 in the documented supported versions
2017-11-08 18:13:34 +02:00
Bruno Oliveira
b11640c1eb
Fix linting E722: do not use bare except
2017-11-04 13:59:10 -02:00
Bruno Oliveira
03829fde8a
Fix linting E741: ambiguous variable name
2017-11-04 13:59:10 -02:00
Ronny Pfannschmidt
2e2f72156a
Merge pull request #2893 from fmichea/patch-1
...
Clarify language of proposal for fixtures parameters
2017-11-04 08:08:48 +01:00
Franck Michea
22e9b006da
Add fragment per PR's guidelines.
2017-11-03 22:24:05 +01:00
Franck Michea
802585cb66
Clarify language of proposal for parametrized fixtures
...
This change slightly modifies the language of the proposal document around use of fixture as parameters of pytest.mark.parametrize. When looking for documentation around this, I very quickly scrolled through this document and landed on the last paragraph thinking it was documenting a real function. This change attempts to make it less likely for this to happen.
2017-11-03 22:13:47 +01:00
Ronny Pfannschmidt
cd747c48a4
Merge pull request #2874 from nicoddemus/fix-py27-xdist-envs-2843
...
Change directory for py27 xdist-related envs
2017-10-30 17:09:34 +01:00
Ronny Pfannschmidt
26019b33f8
Merge pull request #2882 from thisch/doctest_lineno
...
Fix context output handling for doctests
2017-10-30 09:57:25 +01:00
Ronny Pfannschmidt
d00e2da6e9
Merge pull request #2881 from dawran6/2658
...
Document pytest.param
2017-10-30 09:36:33 +01:00
Thomas Hisch
2f993af54a
Fix context output handling for doctests
...
Show full context of doctest source in the pytest output, if the lineno of
failed example in the docstring is < 9.
2017-10-29 20:06:10 +00:00
Daw-Ran Liou
af5e9238c8
Document pytest.param
...
Append example for pytest.param in the example/parametrize document.
2017-10-28 14:25:09 -07:00
Bruno Oliveira
27cea340f3
Remove trailing whitespace
2017-10-26 21:55:28 -02:00
Bruno Oliveira
c3ba9225ef
Change directory for py27 xdist-related envs
...
The "filter_traceback" function was not filtering the frames
that belonged to the pytest internals.
"filter_traceback" was receiving *relative* paths when running with
xdist, and full paths in non-distributed runs; for this reason
the traceback function did not consider the received path to be
relative to the pytest internal modules.
Fix #2843
2017-10-26 21:34:41 -02:00
Bruno Oliveira
111d640bdb
Merge pull request #2873 from stephenfin/doc/skipping-entire-files
...
doc: Include collector config in the skip doc
2017-10-26 20:21:31 -02:00
Bruno Oliveira
734c435d00
Merge pull request #2870 from Perlence/rewrite-python-37-docstring
...
Adapt the Python 3.7 AST changes
2017-10-26 20:15:22 -02:00
Bruno Oliveira
27bb2eceb4
Add comment about why we remove docstrings on test_assertrewrite
...
As explained in pytest-dev/pytest#2870
2017-10-26 20:15:05 -02:00
Stephen Finucane
383239cafc
doc: Include collector config in the skip doc
...
None of the decorators are sufficient to skip an entire file, for
example if the file contain invalid code for a given Python version.
Simply link to details about customizing the collector.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-10-26 17:14:29 +01:00
Sviatoslav Abakumov
fd7bfa30d0
Put imports on the last line unless there are other exprs
2017-10-25 11:05:07 +03:00
Sviatoslav Abakumov
3427d27d5a
Try to get docstring from module node
2017-10-25 10:54:43 +03:00
Bruno Oliveira
0b540f98b1
Merge pull request #2864 from bilderbuchi/fix-1505
...
Introduce a dedicated section about conftest.py
2017-10-24 20:12:46 -02:00
Bruno Oliveira
bdab29fa3d
Merge pull request #2867 from Perlence/ini-markers-whitespace
...
Strip whitespace from markers in INI config
2017-10-24 20:11:20 -02:00
Ronny Pfannschmidt
5631a86296
Merge pull request #2862 from tom-dalton-fanduel/issue-2836-fixture-collection-bug
...
Issue 2836 fixture collection bug
2017-10-24 16:32:50 +02:00
Sviatoslav Abakumov
52aadcd7c1
Strip whitespace from markers in INI config
...
Resolves #2856 .
2017-10-24 14:18:39 +03:00
Tom Dalton
f5e72d2f5f
Unused import / lint
2017-10-24 11:25:42 +01:00
Tom Dalton
a5ac19cc5e
Merge branch 'issue-2836-fixture-collection-bug' of github.com:tom-dalton-fanduel/pytest into issue-2836-fixture-collection-bug
2017-10-24 10:45:06 +01:00
Tom Dalton
14e3a5fcb9
Move the generic separator to a constant
2017-10-24 10:42:16 +01:00
Florian Bruhin
7b608f976d
Merge pull request #2865 from nicoddemus/contributing-docs
...
Make CONTRIBUTING and PR template more consistent regarding doc contributions
2017-10-24 06:46:32 +02:00
Bruno Oliveira
fe560b7192
Make CONTRIBUTING and PR template more consistent regarding doc contributions
2017-10-23 18:46:14 -02:00