[Pytest-commit] [pytest-dev/pytest] 7d8688: Reflect dimension in approx repr for numpy arrays.
Bruno Oliveira
nicoddemus at gmail.com
Thu Aug 2 14:29:53 EDT 2018
Branch: refs/heads/features
Home: https://github.com/pytest-dev/pytest
Commit: 7d8688d54b48daba9ec0bfdbaec8c054060c90dd
https://github.com/pytest-dev/pytest/commit/7d8688d54b48daba9ec0bfdbaec8c054060c90dd
Author: Kale Kundert <kale at thekunderts.net>
Date: 2018-07-30 (Mon, 30 Jul 2018)
Changed paths:
M src/_pytest/python_api.py
M testing/python/approx.py
Log Message:
-----------
Reflect dimension in approx repr for numpy arrays.
Commit: ad305e71d7df867c49d074c8fab00fa9f51024a1
https://github.com/pytest-dev/pytest/commit/ad305e71d7df867c49d074c8fab00fa9f51024a1
Author: Kale Kundert <kale at thekunderts.net>
Date: 2018-07-30 (Mon, 30 Jul 2018)
Changed paths:
M src/_pytest/python_api.py
Log Message:
-----------
Improve docstrings for Approx classes.
Commit: cd2085ee718fb297537638bb33a70fc781ea450f
https://github.com/pytest-dev/pytest/commit/cd2085ee718fb297537638bb33a70fc781ea450f
Author: Kale Kundert <kale at thekunderts.net>
Date: 2018-07-31 (Tue, 31 Jul 2018)
Changed paths:
M src/_pytest/python_api.py
M testing/python/approx.py
Log Message:
-----------
approx(): Detect type errors earlier.
Commit: 032db159c997e10cd8750fa817944d42fb108323
https://github.com/pytest-dev/pytest/commit/032db159c997e10cd8750fa817944d42fb108323
Author: Kale Kundert <kale at thekunderts.net>
Date: 2018-07-31 (Tue, 31 Jul 2018)
Changed paths:
M src/_pytest/python_api.py
M testing/python/approx.py
Log Message:
-----------
Let black reformat the code...
Commit: d02491931ac4eee6d93d8853881c321619c460c3
https://github.com/pytest-dev/pytest/commit/d02491931ac4eee6d93d8853881c321619c460c3
Author: Kale Kundert <kale at thekunderts.net>
Date: 2018-07-31 (Tue, 31 Jul 2018)
Changed paths:
M src/_pytest/python_api.py
Log Message:
-----------
Fix the unused import.
Commit: 327fe4cfcc366f7b2e7fb8f2f90749ecc6edd785
https://github.com/pytest-dev/pytest/commit/327fe4cfcc366f7b2e7fb8f2f90749ecc6edd785
Author: Kale Kundert <kale at thekunderts.net>
Date: 2018-07-31 (Tue, 31 Jul 2018)
Changed paths:
M CHANGELOG.rst
Log Message:
-----------
Update the changelog.
Commit: e1ad1a14af483af8df6979fbd61e842198c8996d
https://github.com/pytest-dev/pytest/commit/e1ad1a14af483af8df6979fbd61e842198c8996d
Author: Bruno Oliveira <nicoddemus at gmail.com>
Date: 2018-07-31 (Tue, 31 Jul 2018)
Changed paths:
A testing/example_scripts/fixtures/custom_item/conftest.py
A testing/example_scripts/fixtures/custom_item/foo/__init__.py
A testing/example_scripts/fixtures/custom_item/foo/test_foo.py
M testing/python/fixture.py
Log Message:
-----------
Add example script and failure for #3742
Commit: 8c9efd86087c36dda54cbe5284c1f804688bd443
https://github.com/pytest-dev/pytest/commit/8c9efd86087c36dda54cbe5284c1f804688bd443
Author: Bruno Oliveira <nicoddemus at gmail.com>
Date: 2018-07-31 (Tue, 31 Jul 2018)
Changed paths:
M src/_pytest/main.py
M testing/test_collection.py
Log Message:
-----------
Only call _collectfile on package instances
As discussed in #3751, this feels like a hack, pushing it only so we can
see how it fares on CI and if there are better solutions out there
Commit: bf7c188cc0eeb14963d2006f705cdede126400cb
https://github.com/pytest-dev/pytest/commit/bf7c188cc0eeb14963d2006f705cdede126400cb
Author: Bruno Oliveira <nicoddemus at gmail.com>
Date: 2018-07-31 (Tue, 31 Jul 2018)
Changed paths:
M src/_pytest/python_api.py
Log Message:
-----------
Improve error message for invalid types passed to pytest.approx()
* Hide the internal traceback
* Use !r representation instead of !s (the default for {} formatting)
Commit: 8e2ed7622742fcf5ab1857284ec823cbf8a88b22
https://github.com/pytest-dev/pytest/commit/8e2ed7622742fcf5ab1857284ec823cbf8a88b22
Author: Bruno Oliveira <nicoddemus at gmail.com>
Date: 2018-07-31 (Tue, 31 Jul 2018)
Changed paths:
M CHANGELOG.rst
A changelog/3473.bugfix.rst
A changelog/3712.bugfix.rst
Log Message:
-----------
Create appropriate CHANGELOG entries
Commit: 098dca3a9fda8dd6ed999e5e38d36877191690b5
https://github.com/pytest-dev/pytest/commit/098dca3a9fda8dd6ed999e5e38d36877191690b5
Author: Bruno Oliveira <nicoddemus at gmail.com>
Date: 2018-07-31 (Tue, 31 Jul 2018)
Changed paths:
M src/_pytest/python_api.py
Log Message:
-----------
Use {!r} for a few other messages as well
Commit: fcdc1d867e25b212ca7681b70cbf785b2645ad06
https://github.com/pytest-dev/pytest/commit/fcdc1d867e25b212ca7681b70cbf785b2645ad06
Author: Ronny Pfannschmidt <ronny.pfannschmidt at redhat.com>
Date: 2018-08-01 (Wed, 01 Aug 2018)
Changed paths:
A changelog/3745.bugfix
M src/_pytest/cacheprovider.py
M testing/test_cacheprovider.py
Log Message:
-----------
fix #3745 - display absolute cache_dir if necessary
Commit: 57a8f208bc4369ebfc8cb7ac1445bed50108bdbf
https://github.com/pytest-dev/pytest/commit/57a8f208bc4369ebfc8cb7ac1445bed50108bdbf
Author: Ronny Pfannschmidt <ronny.pfannschmidt at redhat.com>
Date: 2018-08-01 (Wed, 01 Aug 2018)
Changed paths:
A changelog/3757.bugfix.rst
M setup.py
Log Message:
-----------
fix #3757 by pinning to pathlib2 that supports __fspath__
Commit: 611d254ed5725a098b308e7c18b58e7e670a3529
https://github.com/pytest-dev/pytest/commit/611d254ed5725a098b308e7c18b58e7e670a3529
Author: Bruno Oliveira <nicoddemus at gmail.com>
Date: 2018-08-01 (Wed, 01 Aug 2018)
Changed paths:
M src/_pytest/python_api.py
Log Message:
-----------
Improve error checking messages: add position and use pprint
Commit: 6e32a1f73d91c6040960a6e84841cdcffb0393e5
https://github.com/pytest-dev/pytest/commit/6e32a1f73d91c6040960a6e84841cdcffb0393e5
Author: Bruno Oliveira <nicoddemus at gmail.com>
Date: 2018-08-01 (Wed, 01 Aug 2018)
Changed paths:
M testing/python/approx.py
Log Message:
-----------
Use parametrize in repr test for nd arrays
Commit: 5003bae0de4e1dc3ded16950c24c2aad275c78a4
https://github.com/pytest-dev/pytest/commit/5003bae0de4e1dc3ded16950c24c2aad275c78a4
Author: Bruno Oliveira <nicoddemus at gmail.com>
Date: 2018-08-01 (Wed, 01 Aug 2018)
Changed paths:
M src/_pytest/python_api.py
Log Message:
-----------
Fix 'at' string for non-numeric messages in approx()
Commit: 4588130c1e3eb23ed1e96e49110a80f51a9b3d92
https://github.com/pytest-dev/pytest/commit/4588130c1e3eb23ed1e96e49110a80f51a9b3d92
Author: Bruno Oliveira <nicoddemus at gmail.com>
Date: 2018-08-01 (Wed, 01 Aug 2018)
Changed paths:
A changelog/3745.bugfix
M src/_pytest/cacheprovider.py
M testing/test_cacheprovider.py
Log Message:
-----------
Merge pull request #3756 from RonnyPfannschmidt/fix-3745
fix #3745 - display absolute cache_dir if necessary
Commit: ad5ddaf55a71ebf640043d34c79cf3672c86be5c
https://github.com/pytest-dev/pytest/commit/ad5ddaf55a71ebf640043d34c79cf3672c86be5c
Author: Bruno Oliveira <nicoddemus at gmail.com>
Date: 2018-08-01 (Wed, 01 Aug 2018)
Changed paths:
M src/_pytest/python_api.py
Log Message:
-----------
Simplify is_numpy_array as suggested in review
Commit: 2a2f888909e31f4fc9d26593a4addffd75469dd0
https://github.com/pytest-dev/pytest/commit/2a2f888909e31f4fc9d26593a4addffd75469dd0
Author: Bruno Oliveira <nicoddemus at gmail.com>
Date: 2018-08-01 (Wed, 01 Aug 2018)
Changed paths:
M src/_pytest/python_api.py
Log Message:
-----------
Move recursive_map from local to free function
Commit: 43664d784167011fabd5fb13398084504a6c4016
https://github.com/pytest-dev/pytest/commit/43664d784167011fabd5fb13398084504a6c4016
Author: Bruno Oliveira <nicoddemus at gmail.com>
Date: 2018-08-01 (Wed, 01 Aug 2018)
Changed paths:
M testing/python/approx.py
Log Message:
-----------
Use ids for parametrized values in test_expected_value_type_error
Commit: 7d13599ba1ad61d4423bc60db14c46a742f1e3fe
https://github.com/pytest-dev/pytest/commit/7d13599ba1ad61d4423bc60db14c46a742f1e3fe
Author: Bruno Oliveira <nicoddemus at gmail.com>
Date: 2018-08-01 (Wed, 01 Aug 2018)
Changed paths:
A changelog/3748.bugfix.rst
M src/_pytest/python_api.py
Log Message:
-----------
Fix recursion in pytest.approx() with arrays in numpy<1.13
Commit: f25683354e95ea13801e4984873bbf3352b97ff1
https://github.com/pytest-dev/pytest/commit/f25683354e95ea13801e4984873bbf3352b97ff1
Author: Bruno Oliveira <nicoddemus at gmail.com>
Date: 2018-08-01 (Wed, 01 Aug 2018)
Changed paths:
A changelog/3757.bugfix.rst
M setup.py
Log Message:
-----------
Merge pull request #3760 from RonnyPfannschmidt/fix-3757-pin-pathlib
fix #3757 by pinning to pathlib2 that supports __fspath__
Commit: a5c0fb7f6b8d6213111c70d07ace773e6e794614
https://github.com/pytest-dev/pytest/commit/a5c0fb7f6b8d6213111c70d07ace773e6e794614
Author: Bruno Oliveira <nicoddemus at gmail.com>
Date: 2018-08-01 (Wed, 01 Aug 2018)
Changed paths:
M src/_pytest/python_api.py
Log Message:
-----------
Rename recursive_map -> _recursive_list_map as requested in review
Commit: b8255308d65d91a464991259b0b233dcc4969486
https://github.com/pytest-dev/pytest/commit/b8255308d65d91a464991259b0b233dcc4969486
Author: Kale Kundert <kale at thekunderts.net>
Date: 2018-08-01 (Wed, 01 Aug 2018)
Changed paths:
M src/_pytest/python_api.py
Log Message:
-----------
Make the infinite-recusrion fix more explicit.
So we remember what happened and don't accidentally regress in the
future.
Commit: c6b11b9f6279fa6ee3ea91ae4f1d5ecfae67ce28
https://github.com/pytest-dev/pytest/commit/c6b11b9f6279fa6ee3ea91ae4f1d5ecfae67ce28
Author: Bruno Oliveira <nicoddemus at gmail.com>
Date: 2018-08-01 (Wed, 01 Aug 2018)
Changed paths:
A changelog/3747.bugfix.rst
M src/_pytest/compat.py
M src/_pytest/fixtures.py
M testing/deprecated_test.py
M testing/python/fixture.py
Log Message:
-----------
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
Commit: 452e5c1cf02dc76900354732627e57300ccaadf2
https://github.com/pytest-dev/pytest/commit/452e5c1cf02dc76900354732627e57300ccaadf2
Author: Anthony Sottile <asottile at umich.edu>
Date: 2018-08-01 (Wed, 01 Aug 2018)
Changed paths:
A changelog/3763.bugfix.rst
M src/_pytest/assertion/rewrite.py
M testing/test_assertrewrite.py
Log Message:
-----------
Fix `TypeError` when the assertion message is `bytes` in python 3.
Commit: a80e031c629b80ee6921482bbb8aa13764a3068b
https://github.com/pytest-dev/pytest/commit/a80e031c629b80ee6921482bbb8aa13764a3068b
Author: Anthony Sottile <asottile at umich.edu>
Date: 2018-08-01 (Wed, 01 Aug 2018)
Changed paths:
M .pre-commit-config.yaml
R changelog/3745.bugfix
A changelog/3745.bugfix.rst
A scripts/fail
Log Message:
-----------
Enforce that changelog files are .rst
Commit: 82a217486706448211bac62972e92de96214cd03
https://github.com/pytest-dev/pytest/commit/82a217486706448211bac62972e92de96214cd03
Author: Bruno Oliveira <nicoddemus at gmail.com>
Date: 2018-08-01 (Wed, 01 Aug 2018)
Changed paths:
M changelog/3747.bugfix.rst
Log Message:
-----------
Fix typo in CHANGELOG
Commit: 804fc4063aab3b82055c8341327b519300072d0a
https://github.com/pytest-dev/pytest/commit/804fc4063aab3b82055c8341327b519300072d0a
Author: Bruno Oliveira <nicoddemus at gmail.com>
Date: 2018-08-01 (Wed, 01 Aug 2018)
Changed paths:
A changelog/3473.bugfix.rst
A changelog/3712.bugfix.rst
M src/_pytest/python_api.py
M testing/python/approx.py
Log Message:
-----------
Merge pull request #3741 from kalekundert/approx_misc_tweaks
Miscellaneous improvements to approx()
Commit: 5db2e6c7a1f546bdf92906901c7c6270f21edf9b
https://github.com/pytest-dev/pytest/commit/5db2e6c7a1f546bdf92906901c7c6270f21edf9b
Author: Bruno Oliveira <nicoddemus at gmail.com>
Date: 2018-08-01 (Wed, 01 Aug 2018)
Changed paths:
A changelog/3748.bugfix.rst
M src/_pytest/python_api.py
Log Message:
-----------
Merge pull request #3761 from nicoddemus/numpy-recursion-error
Fix recursion in pytest.approx() with arrays in numpy<1.13
Commit: 33769d0328419636c9f95e84823f3bb180b3977f
https://github.com/pytest-dev/pytest/commit/33769d0328419636c9f95e84823f3bb180b3977f
Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
Date: 2018-08-02 (Thu, 02 Aug 2018)
Changed paths:
A changelog/3747.bugfix.rst
M src/_pytest/compat.py
M src/_pytest/fixtures.py
M testing/deprecated_test.py
M testing/python/fixture.py
Log Message:
-----------
Merge pull request #3754 from nicoddemus/fix-function-call-warning
Refactor direct fixture call warning to avoid incompatibility with plugins
Commit: 7e92930fa9c3e11d8502b367a0502b8503c5014b
https://github.com/pytest-dev/pytest/commit/7e92930fa9c3e11d8502b367a0502b8503c5014b
Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
Date: 2018-08-02 (Thu, 02 Aug 2018)
Changed paths:
A changelog/3763.bugfix.rst
M src/_pytest/assertion/rewrite.py
M testing/test_assertrewrite.py
Log Message:
-----------
Merge pull request #3764 from asottile/fix_3763
Fix `TypeError` when the assertion message is `bytes` in python 3.
Commit: ca0476953e31eab4e5e5a252d5e7cf846ae2d1a7
https://github.com/pytest-dev/pytest/commit/ca0476953e31eab4e5e5a252d5e7cf846ae2d1a7
Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
Date: 2018-08-02 (Thu, 02 Aug 2018)
Changed paths:
M src/_pytest/main.py
A testing/example_scripts/fixtures/custom_item/conftest.py
A testing/example_scripts/fixtures/custom_item/foo/__init__.py
A testing/example_scripts/fixtures/custom_item/foo/test_foo.py
M testing/python/fixture.py
M testing/test_collection.py
Log Message:
-----------
Merge pull request #3751 from nicoddemus/collect-file-bug
Workaround for #3742
Commit: 4705fd2bbe1da0f153839d11145dc0ab154fc754
https://github.com/pytest-dev/pytest/commit/4705fd2bbe1da0f153839d11145dc0ab154fc754
Author: Anthony Sottile <asottile at umich.edu>
Date: 2018-08-01 (Wed, 01 Aug 2018)
Changed paths:
M .pre-commit-config.yaml
R changelog/3745.bugfix
A changelog/3745.bugfix.rst
A scripts/fail
Log Message:
-----------
Merge pull request #3765 from asottile/require_changelog_rst
Enforce that changelog files are .rst
Commit: f7a3f45a182ed8b4dabb130d2b46d717b006edeb
https://github.com/pytest-dev/pytest/commit/f7a3f45a182ed8b4dabb130d2b46d717b006edeb
Author: Bruno Oliveira <nicoddemus at gmail.com>
Date: 2018-08-02 (Thu, 02 Aug 2018)
Changed paths:
M CHANGELOG.rst
R changelog/3473.bugfix.rst
R changelog/3712.bugfix.rst
R changelog/3745.bugfix.rst
R changelog/3747.bugfix.rst
R changelog/3748.bugfix.rst
R changelog/3757.bugfix.rst
R changelog/3763.bugfix.rst
M doc/en/announce/index.rst
A doc/en/announce/release-3.7.1.rst
M doc/en/example/nonpython.rst
M doc/en/example/parametrize.rst
M doc/en/example/reportingdemo.rst
Log Message:
-----------
Preparing release version 3.7.1
Commit: 4d2fa581e1ed8e34ddf50d5e215a8cee412b503e
https://github.com/pytest-dev/pytest/commit/4d2fa581e1ed8e34ddf50d5e215a8cee412b503e
Author: Bruno Oliveira <nicoddemus at gmail.com>
Date: 2018-08-02 (Thu, 02 Aug 2018)
Changed paths:
M CHANGELOG.rst
R changelog/3473.bugfix.rst
R changelog/3712.bugfix.rst
R changelog/3745.bugfix.rst
R changelog/3747.bugfix.rst
R changelog/3748.bugfix.rst
R changelog/3757.bugfix.rst
R changelog/3763.bugfix.rst
M doc/en/announce/index.rst
A doc/en/announce/release-3.7.1.rst
M doc/en/example/nonpython.rst
M doc/en/example/parametrize.rst
M doc/en/example/reportingdemo.rst
Log Message:
-----------
Merge pull request #3769 from nicoddemus/release-3.7.1
Preparing release version 3.7.1
Commit: a76cc8f8c4757452a35e4488a1b3264dc16b3931
https://github.com/pytest-dev/pytest/commit/a76cc8f8c4757452a35e4488a1b3264dc16b3931
Author: Bruno Oliveira <nicoddemus at gmail.com>
Date: 2018-08-02 (Thu, 02 Aug 2018)
Changed paths:
M CHANGELOG.rst
Log Message:
-----------
Add changelog for #3742
This was missing from PR #3751
Compare: https://github.com/pytest-dev/pytest/compare/253419316ce0...a76cc8f8c475
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the pytest-commit
mailing list