Ronny Pfannschmidt
68bbd42213
Merge pull request #3795 from nicoddemus/changelog-3774
...
Add CHANGELOG for issue #3774 , missing from PR #3780
2018-08-14 09:32:20 +02:00
Ronny Pfannschmidt
22ee2093b8
Merge pull request #3801 from nicoddemus/improve-warning-addoption
...
Improve warning messages when addoption is called with string as `type`
2018-08-14 09:30:17 +02:00
Anthony Sottile
87a99275fb
Merge pull request #3807 from anowlcalledjosh/metafunc-config-doc
...
Unhide documentation for metafunc.config
2018-08-13 15:32:43 -07:00
Josh Holland
abbd7c30a4
Unhide documentation for metafunc.config
...
Fixes #3746 .
2018-08-11 20:48:55 +01:00
Bruno Oliveira
abae60c8d0
Add CHANGELOG entries
2018-08-10 22:04:42 -03:00
turturica
e92893ed24
Add test for packages mixed with modules.
2018-08-10 17:29:30 -07:00
Bruno Oliveira
27b5435a40
Fix docs formatting and improve test a bit
2018-08-10 18:19:07 -03:00
turturica
50db718a6a
Add a test description.
2018-08-10 13:57:29 -07:00
turturica
bfd0addaeb
Fix test collection from packages mixed with directories. #3768 and #3789
2018-08-10 12:56:08 -07:00
Bruno Oliveira
be11d3e195
Improve warning messages when addoption is called with string as `type`
...
Encountered the warning myself and to me the message was not clear about
what should be done to fix the warning
2018-08-10 12:49:06 -03:00
turturica
266f05c4c4
Fix #3751
2018-08-09 18:28:22 -07:00
turturica
d0bd01beca
Collect any tests from a package's __init__.py
2018-08-09 18:06:38 -07:00
Bruno Oliveira
220288ac77
Add CHANGELOG for issue #3774 , missing from PR #3780
2018-08-09 12:33:02 -03:00
Bruno Oliveira
4d8903fd0b
Merge pull request #3780 from nicoddemus/mock-integration-fix
...
Fix issue where fixtures would lose the decorated functionality
2018-08-09 12:26:09 -03:00
Bruno Oliveira
67106f056b
Use a custom holder class so we can be sure __pytest_wrapper__ was set by us
2018-08-09 09:22:00 -03:00
Ronny Pfannschmidt
5d3c5123f8
Merge pull request #3792 from decisio/pr-3788-fix-teardown-exception
...
Pr 3788 fix teardown exception
2018-08-09 06:53:22 +02:00
Bruno Oliveira
74d9f56d0f
Improve CHANGELOG a bit
2018-08-08 21:24:14 -03:00
Wes Thomas
051db6a33d
Trimming Trailing Whitespace
2018-08-08 18:18:18 -05:00
Wes Thomas
aa358433b0
Fix AttributeError bug in TestCaseFunction.teardown by creating TestCaseFunction._testcase as attribute of class with a None default.
2018-08-08 18:13:21 -05:00
Bruno Oliveira
e723069165
Merge pull request #3771 from nicoddemus/package-infinite-recursion-bug
...
Fix infinite recursion collection bug with pytest_ignore_collect hook
2018-08-06 10:09:31 -03:00
Bruno Oliveira
855fd17014
Merge pull request #3779 from nicoddemus/changelog-title
...
Add a changelog blurb and title, similar to tox
2018-08-05 18:03:57 -03:00
Bruno Oliveira
d11781920b
Merge pull request #3782 from nicoddemus/pytest-non-functions
...
Only consider actual functions when collecting hooks
2018-08-05 09:07:01 -03:00
Bruno Oliveira
2c0d2eef40
Only consider actual functions when considering hooks
...
Fix #3775
2018-08-04 16:37:07 -03:00
Bruno Oliveira
ef8ec01e39
Fix issue where fixtures would lose the decorated functionality
...
Fix #3774
2018-08-04 15:14:00 -03:00
Bruno Oliveira
0a1c2a7ca1
Add a changelog blurb and title, similar to tox
2018-08-04 13:15:20 -03:00
Bruno Oliveira
fe0a76e1a6
Fix recursion bug if a pytest_ignore_collect returns False instead of None
2018-08-03 15:40:33 -03:00
Bruno Oliveira
dcafb8c48c
Add example for package recursion bug
2018-08-03 15:40:33 -03:00
Bruno Oliveira
a76cc8f8c4
Add changelog for #3742
...
This was missing from PR #3751
2018-08-02 15:28:26 -03:00
Bruno Oliveira
4d2fa581e1
Merge pull request #3769 from nicoddemus/release-3.7.1
...
Preparing release version 3.7.1
2018-08-02 15:21:48 -03:00
Bruno Oliveira
f7a3f45a18
Preparing release version 3.7.1
2018-08-02 12:04:39 +00:00
Daniel Hahler
dff7b203f7
tox: clean up docs target
2018-08-02 13:07:03 +02:00
Anthony Sottile
4705fd2bbe
Merge pull request #3765 from asottile/require_changelog_rst
...
Enforce that changelog files are .rst
2018-08-01 23:47:09 -07:00
Ronny Pfannschmidt
ca0476953e
Merge pull request #3751 from nicoddemus/collect-file-bug
...
Workaround for #3742
2018-08-02 07:35:46 +02:00
Ronny Pfannschmidt
7e92930fa9
Merge pull request #3764 from asottile/fix_3763
...
Fix `TypeError` when the assertion message is `bytes` in python 3.
2018-08-02 07:19:51 +02:00
Ronny Pfannschmidt
33769d0328
Merge pull request #3754 from nicoddemus/fix-function-call-warning
...
Refactor direct fixture call warning to avoid incompatibility with plugins
2018-08-02 07:17:15 +02:00
Bruno Oliveira
5db2e6c7a1
Merge pull request #3761 from nicoddemus/numpy-recursion-error
...
Fix recursion in pytest.approx() with arrays in numpy<1.13
2018-08-01 23:40:30 -03:00
Bruno Oliveira
804fc4063a
Merge pull request #3741 from kalekundert/approx_misc_tweaks
...
Miscellaneous improvements to approx()
2018-08-01 23:40:21 -03:00
Bruno Oliveira
82a2174867
Fix typo in CHANGELOG
2018-08-01 20:11:16 -03:00
Anthony Sottile
a80e031c62
Enforce that changelog files are .rst
2018-08-01 15:22:43 -07:00
Anthony Sottile
452e5c1cf0
Fix `TypeError` when the assertion message is `bytes` in python 3.
2018-08-01 15:09:25 -07:00
Bruno Oliveira
c6b11b9f62
Refactor direct fixture call warning to avoid incompatibility with plugins
...
This refactors the code so we have the real function object right during
collection. This avoids having to unwrap it later and lose attached information
such as "async" functions.
Fix #3747
2018-08-01 16:38:43 -03:00
Kale Kundert
b8255308d6
Make the infinite-recusrion fix more explicit.
...
So we remember what happened and don't accidentally regress in the
future.
2018-08-01 12:11:03 -07:00
Bruno Oliveira
a5c0fb7f6b
Rename recursive_map -> _recursive_list_map as requested in review
2018-08-01 15:17:58 -03:00
Bruno Oliveira
f25683354e
Merge pull request #3760 from RonnyPfannschmidt/fix-3757-pin-pathlib
...
fix #3757 by pinning to pathlib2 that supports __fspath__
2018-08-01 09:44:30 -03:00
Bruno Oliveira
7d13599ba1
Fix recursion in pytest.approx() with arrays in numpy<1.13
2018-08-01 08:04:09 -03:00
Bruno Oliveira
43664d7841
Use ids for parametrized values in test_expected_value_type_error
2018-08-01 07:34:08 -03:00
Bruno Oliveira
2a2f888909
Move recursive_map from local to free function
2018-08-01 07:30:40 -03:00
Bruno Oliveira
ad5ddaf55a
Simplify is_numpy_array as suggested in review
2018-08-01 07:28:39 -03:00
Bruno Oliveira
4588130c1e
Merge pull request #3756 from RonnyPfannschmidt/fix-3745
...
fix #3745 - display absolute cache_dir if necessary
2018-08-01 07:09:19 -03:00
Bruno Oliveira
5003bae0de
Fix 'at' string for non-numeric messages in approx()
2018-08-01 07:07:37 -03:00