Bruno Oliveira
3cb1457e6d
Merge pull request #5977 from blueyed/numpy
...
tests: keep numpy being optional
2019-10-16 20:13:29 -03:00
Daniel Hahler
90dfee5da5
tests: keep numpy being optional
...
Ref: https://github.com/pytest-dev/pytest/pull/5950#discussion_r335254774
2019-10-16 23:50:23 +02:00
Bruno Oliveira
77a995ffad
Add missing version added/changed markers to docs ( #5966 )
...
Add missing version added/changed markers to docs
2019-10-16 10:43:45 -03:00
Bruno Oliveira
914a9465ab
tests: move tests for setuponly/setupplan ( #5961 )
...
tests: move tests for setuponly/setupplan
2019-10-15 19:49:26 -03:00
Bruno Oliveira
f739d511b0
minor: test_failure_function: use vars ( #5958 )
...
minor: test_failure_function: use vars
2019-10-15 19:48:41 -03:00
Bruno Oliveira
0383d43645
Add missing version added/changed markers to docs
...
Notice some features since 5.0 were not being properly
marked in which version they have been added/changed.
2019-10-15 19:45:58 -03:00
Bruno Oliveira
76c2a8ebbe
doc: caplog: add caplog.messages ( #5963 )
...
doc: caplog: add caplog.messages
2019-10-15 19:42:15 -03:00
Daniel Hahler
71a7fd02a5
doc: caplog: add caplog.messages
2019-10-15 16:18:50 +02:00
Daniel Hahler
c2ae0e0dc6
tests: move tests for setuponly/setupplan
...
Forgotten in 032ce8baf
.
2019-10-15 00:41:05 +02:00
Anthony Sottile
7bc8cb8e2b
Merge pull request #5954 from blueyed/changelog-remove-dupe
...
changelog: #5523 was fixed in 5.0.1 already
2019-10-14 15:37:21 -07:00
Daniel Hahler
361f0e6ba7
minor: test_failure_function: use vars
2019-10-14 22:45:25 +02:00
Daniel Hahler
dee8d94876
changelog: #5523 was fixed in 5.0.1 already
...
Ref: https://github.com/pytest-dev/pytest/pull/5952#issuecomment-541801883
2019-10-14 19:20:57 +02:00
Anthony Sottile
a20880cca2
Merge pull request #5952 from nicoddemus/port-changelog
...
Port CHANGELOG from 4.6.6 release
2019-10-13 10:20:34 -07:00
Bruno Oliveira
ae9465215e
Port CHANGELOG from 4.6.6 release
2019-10-13 11:54:02 -03:00
Bruno Oliveira
1555973487
Workaround curl bug which makes retries of fetching codecov.io/… ( #5951 )
...
Workaround curl bug which makes retries of fetching codecov.io/bash not work
2019-10-12 17:08:47 -03:00
Bruno Oliveira
3322c1e033
Casting fixture parameter to list at the beginning of parameter… ( #5950 )
...
Casting fixture parameter to list at the beginning of parameter parsing.
2019-10-12 17:02:48 -03:00
Ran Benita
7678f891f9
Workaround curl bug which makes retries of fetching codecov.io/bash not work
2019-10-12 21:52:01 +03:00
Florian Bruhin
4f2abd7ae0
Merge pull request #5948 from attomos/update-projects-doc
...
Documentation update to project examples
2019-10-12 17:31:24 +02:00
Victor Maryama
122cf60b27
Always creating list for consistency.
...
Co-Authored-By: Bruno Oliveira <nicoddemus@gmail.com>
2019-10-12 15:46:28 +02:00
Victor Maryama
63e3d89647
Fixed linting.
2019-10-12 15:08:47 +02:00
Victor Maryama
122748a6cf
Added changelog file.
2019-10-12 14:38:58 +02:00
Victor Maryama
1f639e2c22
Casting fixture parameter to list at the beginning of parameter parsing.
2019-10-12 14:33:43 +02:00
Nattaphoom Chaipreecha
83ba5eb58a
Add pudb to project examples
2019-10-12 08:10:04 +07:00
Nattaphoom Chaipreecha
d07c5ba4ae
Update pdb++ link (moved to GitHub)
2019-10-12 08:09:49 +07:00
Anthony Sottile
b162ab6a45
Merge pull request #5943 from nicoddemus/py2-py37-tech-docs
...
Add link to technical aspects issue to the py27-py34 docs
2019-10-11 11:07:58 -07:00
Bruno Oliveira
57141dc708
Add link to technical aspects issue to the py27-py34 docs
2019-10-11 08:50:38 -03:00
Bruno Oliveira
afabbb6346
minor: test_assertion: improve mock_config ( #5940 )
...
minor: test_assertion: improve mock_config
2019-10-11 08:28:42 -03:00
Daniel Hahler
fb90259460
test_assertion: improve mock_config
2019-10-11 04:19:07 +02:00
Bruno Oliveira
bad4ffc3a7
remove cancelled training sidebar ( #5938 )
...
remove cancelled training sidebar
2019-10-10 07:45:26 -03:00
Oliver Bestwalter
71ad5b0fbb
remove cancelled training sidebar
2019-10-10 12:11:16 +02:00
Bruno Oliveira
db6653ce3b
Improve ExceptionInfo.__repr__ ( #5934 )
...
Improve ExceptionInfo.__repr__
2019-10-09 17:08:55 -03:00
Daniel Hahler
2a2fe7d3db
Improve ExceptionInfo.__repr__
2019-10-09 19:27:46 +02:00
Bruno Oliveira
5c92a0f695
Merge master into features ( #5930 )
...
Merge master into features
2019-10-08 17:39:49 -03:00
Daniel Hahler
21c038f304
Merge master into features
2019-10-08 18:57:15 +02:00
Daniel Hahler
fca462cf7d
Merge pull request #5924 from blueyed/improve-list-diff
...
Improve full diff output for lists
2019-10-08 17:58:25 +02:00
Daniel Hahler
946434c610
Improve full diff output for lists
...
Massage text input for difflib when comparing pformat output of
different line lengths.
Also do not strip ndiff output on the left, which currently already
removes indenting for lines with no differences.
Before:
E AssertionError: assert ['version', '...version_info'] == ['version', '...version', ...]
E Right contains 3 more items, first extra item: ' '
E Full diff:
E - ['version', 'version_info', 'sys.version', 'sys.version_info']
E + ['version',
E + 'version_info',
E + 'sys.version',
E + 'sys.version_info',
E + ' ',
E + 'sys.version',
E + 'sys.version_info']
After:
E AssertionError: assert ['version', '...version_info'] == ['version', '...version', ...]
E Right contains 3 more items, first extra item: ' '
E Full diff:
E [
E 'version',
E 'version_info',
E 'sys.version',
E 'sys.version_info',
E + ' ',
E + 'sys.version',
E + 'sys.version_info',
E ]
2019-10-08 15:27:51 +02:00
Anthony Sottile
3fada8c8ee
Merge pull request #5925 from asottile/fix_resource_warning_again_5088
...
Fix spurious ResourceWarning stderr in testsuite again
2019-10-07 16:26:38 -07:00
Anthony Sottile
271dc7f17a
Merge pull request #5904 from asottile/warnings_v2
...
Add test to ensure _pytest is warning-clean on import
2019-10-06 19:24:07 -07:00
Anthony Sottile
19eb0590f1
Fix spurious ResourceWarning stderr in testsuite again
2019-10-06 19:11:33 -07:00
Bruno Oliveira
5186635387
Introduce no_fnmatch_line/no_re_match_line in pytester ( #5914 )
...
Introduce no_fnmatch_line/no_re_match_line in pytester
2019-10-06 20:27:20 -03:00
Daniel Hahler
cd398e289f
Merge pull request #5920 from blueyed/lazy-import-pdb
...
Allow for "pdb" module to be rewritten
2019-10-06 23:46:11 +02:00
Anthony Sottile
eaa05531ed
Add test to ensure _pytest is warning-clean on import
2019-10-06 14:11:08 -07:00
Bruno Oliveira
47c2091ecd
Use new no-match functions to replace previous idiom
2019-10-06 18:05:24 -03:00
Bruno Oliveira
0c18e24433
Introduce no_fnmatch_line/no_re_match_line in pytester
...
The current idiom is to use:
assert re.match(pat, result.stdout.str())
Or
assert line in result.stdout.str()
But this does not really give good results when it fails.
Those new functions produce similar output to ther other match lines functions.
2019-10-06 18:05:24 -03:00
Daniel Hahler
07f20ccab6
Allow for "pdb" module to be rewritten
2019-10-06 23:02:24 +02:00
Daniel Hahler
b847d5712b
Merge pull request #5923 from nicoddemus/mm
...
Merge master into features
2019-10-06 23:01:19 +02:00
Bruno Oliveira
74aed6ea4c
Release 5.2.1 ( #5917 )
...
Release 5.2.1
2019-10-06 12:55:15 -03:00
Bruno Oliveira
cfa9ebc91f
ci: test oldest supported attrs ( #5922 )
...
ci: test oldest supported attrs
2019-10-06 12:55:03 -03:00
Daniel Hahler
b0fd8742da
ci: test oldest supported attrs
2019-10-06 16:12:56 +02:00
Bruno Oliveira
12cc729f6b
Preparing release version 5.2.1
2019-10-06 08:00:49 -04:00