[Pytest-commit] [pytest-dev/pytest] 522d59: Use session.config.hook instead of ihook. Fixes #2...

Bruno Oliveira nicoddemus at gmail.com
Sun Nov 12 18:57:42 EST 2017


  Branch: refs/heads/features
  Home:   https://github.com/pytest-dev/pytest
  Commit: 522d59e844abe815790acf733a0aa13b597acfac
      https://github.com/pytest-dev/pytest/commit/522d59e844abe815790acf733a0aa13b597acfac
  Author: Dmitry Malinovsky <damalinov at gmail.com>
  Date:   2016-12-10 (Sat, 10 Dec 2016)

  Changed paths:
    M _pytest/fixtures.py
    M testing/python/fixture.py

  Log Message:
  -----------
  Use session.config.hook instead of ihook. Fixes #2124


  Commit: a63b34c68596e4cddec6d899d8b27417ea4ce72c
      https://github.com/pytest-dev/pytest/commit/a63b34c68596e4cddec6d899d8b27417ea4ce72c
  Author: Dmitry Malinovsky <damalinov at gmail.com>
  Date:   2016-12-20 (Tue, 20 Dec 2016)

  Changed paths:
    M _pytest/fixtures.py

  Log Message:
  -----------
  Switch to item fspath


  Commit: 14b6380e5f8c2e26aa518de8a499978eb9601848
      https://github.com/pytest-dev/pytest/commit/14b6380e5f8c2e26aa518de8a499978eb9601848
  Author: Christian Boelsen <christian.boelsen at hds.com>
  Date:   2017-09-13 (Wed, 13 Sep 2017)

  Changed paths:
    M _pytest/main.py
    A changelog/2775.bugfix
    M testing/acceptance_test.py

  Log Message:
  -----------
  Fix #2775 - running pytest with "--pyargs" will result in Items with empty "parent.nodeid" if run from a different root directory


  Commit: 794d4585d3b0e3c892ee97142e5c1d392928d372
      https://github.com/pytest-dev/pytest/commit/794d4585d3b0e3c892ee97142e5c1d392928d372
  Author: Christian Boelsen <christian.boelsen+github at gmail.com>
  Date:   2017-09-28 (Thu, 28 Sep 2017)

  Changed paths:
    M _pytest/main.py

  Log Message:
  -----------
  Remove unnecessary complexity in _check_initialpaths_for_relpath().


  Commit: 76f3be452a01441d6ee1d9c53d7f1fefaa5c8f45
      https://github.com/pytest-dev/pytest/commit/76f3be452a01441d6ee1d9c53d7f1fefaa5c8f45
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2017-11-10 (Fri, 10 Nov 2017)

  Changed paths:
    M _pytest/runner.py

  Log Message:
  -----------
  remove unused _pytest.runner.NodeInfo class


  Commit: 742f9cb825ab676e948e434efa212d73ba1346c6
      https://github.com/pytest-dev/pytest/commit/742f9cb825ab676e948e434efa212d73ba1346c6
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2017-11-10 (Fri, 10 Nov 2017)

  Changed paths:
    M _pytest/runner.py

  Log Message:
  -----------
  Merge pull request #2911 from RonnyPfannschmidt/remove-nodeinfo

remove unused _pytest.runner.NodeInfo class


  Commit: f320686fe06bb6a9a9c2009613206114edc55d40
      https://github.com/pytest-dev/pytest/commit/f320686fe06bb6a9a9c2009613206114edc55d40
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2017-11-11 (Sat, 11 Nov 2017)

  Changed paths:
    M _pytest/fixtures.py

  Log Message:
  -----------
  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.


  Commit: b671c5a8bfde9a470e25b30e718eed140662c2b8
      https://github.com/pytest-dev/pytest/commit/b671c5a8bfde9a470e25b30e718eed140662c2b8
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2017-11-11 (Sat, 11 Nov 2017)

  Changed paths:
    M _pytest/fixtures.py

  Log Message:
  -----------
  Merge pull request #2914 from nicoddemus/addfinalizer-refactor

Make SubRequest.addfinalizer an explicit method


  Commit: f0f2d2b861bf8df93afce4e9844a8f97fe402cef
      https://github.com/pytest-dev/pytest/commit/f0f2d2b861bf8df93afce4e9844a8f97fe402cef
  Author: Ronny Pfannschmidt <opensource at ronnypfannschmidt.de>
  Date:   2017-11-11 (Sat, 11 Nov 2017)

  Changed paths:
    M .github/PULL_REQUEST_TEMPLATE.md
    M AUTHORS
    M CHANGELOG.rst
    M CONTRIBUTING.rst
    M HOWTORELEASE.rst
    M _pytest/_argcomplete.py
    M _pytest/_code/code.py
    M _pytest/_code/source.py
    M _pytest/assertion/rewrite.py
    M _pytest/assertion/util.py
    M _pytest/config.py
    M _pytest/doctest.py
    M _pytest/fixtures.py
    M _pytest/junitxml.py
    M _pytest/main.py
    M _pytest/mark.py
    A _pytest/nodes.py
    M _pytest/pytester.py
    M _pytest/python.py
    M _pytest/python_api.py
    M _pytest/runner.py
    M _pytest/skipping.py
    M _pytest/terminal.py
    M _pytest/unittest.py
    A changelog/1505.doc
    R changelog/1548.doc
    A changelog/1997.doc
    A changelog/2658.doc
    R changelog/2722.trivial
    R changelog/2758.bugfix
    R changelog/2765.trivial
    A changelog/2819.bugfix
    A changelog/2836.bug
    A changelog/2856.bugfix
    A changelog/2882.bugfix
    A changelog/2893.doc
    A changelog/2903.doc
    A changelog/538.doc
    A changelog/911.doc
    M doc/en/announce/index.rst
    A doc/en/announce/release-3.2.3.rst
    M doc/en/assert.rst
    M doc/en/contents.rst
    A doc/en/development_guide.rst
    M doc/en/example/parametrize.rst
    M doc/en/example/pythoncollection.rst
    M doc/en/fixture.rst
    M doc/en/getting-started.rst
    M doc/en/parametrize.rst
    M doc/en/plugins.rst
    M doc/en/proposals/parametrize_with_fixtures.rst
    M doc/en/pythonpath.rst
    M doc/en/skipping.rst
    M doc/en/unittest.rst
    M doc/en/usage.rst
    M doc/en/warnings.rst
    M doc/en/writing_plugins.rst
    M testing/code/test_excinfo.py
    M testing/code/test_source.py
    M testing/code/test_source_multiline_block.py
    M testing/python/collect.py
    M testing/python/fixture.py
    M testing/python/integration.py
    M testing/python/metafunc.py
    M testing/python/show_fixtures_per_test.py
    M testing/test_argcomplete.py
    M testing/test_assertion.py
    M testing/test_assertrewrite.py
    M testing/test_collection.py
    M testing/test_config.py
    M testing/test_conftest.py
    M testing/test_doctest.py
    M testing/test_mark.py
    A testing/test_nodes.py
    M testing/test_nose.py
    M testing/test_pluginmanager.py
    M testing/test_recwarn.py
    M testing/test_runner.py
    M testing/test_runner_xunit.py
    M testing/test_session.py
    M testing/test_skipping.py
    M testing/test_terminal.py
    M testing/test_unittest.py
    M testing/test_warnings.py
    M tox.ini

  Log Message:
  -----------
  Merge branch 'master' into fix-missing-nodeid-with-pyargs


  Commit: 259b86b6ab1aea38ae35043d8e12e82ef3576b32
      https://github.com/pytest-dev/pytest/commit/259b86b6ab1aea38ae35043d8e12e82ef3576b32
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2017-11-12 (Sun, 12 Nov 2017)

  Changed paths:
    M _pytest/main.py
    A changelog/2775.bugfix
    M testing/acceptance_test.py

  Log Message:
  -----------
  Merge pull request #2776 from cryporchild/fix-missing-nodeid-with-pyargs

Fix #2775 - running pytest with "--pyargs" will result in Items with …


  Commit: 258031afe586e789d121b2a02dba37ea6c4a26e1
      https://github.com/pytest-dev/pytest/commit/258031afe586e789d121b2a02dba37ea6c4a26e1
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2017-11-12 (Sun, 12 Nov 2017)

  Changed paths:
    M .github/PULL_REQUEST_TEMPLATE.md
    M .gitignore
    M .travis.yml
    M AUTHORS
    M CHANGELOG.rst
    M CONTRIBUTING.rst
    M HOWTORELEASE.rst
    M LICENSE
    R MANIFEST.in
    M README.rst
    M _pytest/__init__.py
    M _pytest/_argcomplete.py
    M _pytest/_code/__init__.py
    M _pytest/_code/_py2traceback.py
    M _pytest/_code/code.py
    M _pytest/_code/source.py
    M _pytest/_pluggy.py
    M _pytest/assertion/__init__.py
    M _pytest/assertion/rewrite.py
    A _pytest/assertion/truncate.py
    M _pytest/assertion/util.py
    M _pytest/cacheprovider.py
    M _pytest/capture.py
    M _pytest/compat.py
    M _pytest/config.py
    M _pytest/debugging.py
    M _pytest/deprecated.py
    M _pytest/doctest.py
    M _pytest/fixtures.py
    M _pytest/freeze_support.py
    M _pytest/helpconfig.py
    M _pytest/hookspec.py
    R _pytest/impl
    M _pytest/junitxml.py
    M _pytest/main.py
    M _pytest/mark.py
    M _pytest/monkeypatch.py
    A _pytest/nodes.py
    M _pytest/nose.py
    A _pytest/outcomes.py
    M _pytest/pastebin.py
    M _pytest/pytester.py
    M _pytest/python.py
    A _pytest/python_api.py
    M _pytest/recwarn.py
    M _pytest/resultlog.py
    M _pytest/runner.py
    M _pytest/setuponly.py
    M _pytest/setupplan.py
    M _pytest/skipping.py
    M _pytest/terminal.py
    M _pytest/tmpdir.py
    M _pytest/unittest.py
    M _pytest/vendored_packages/pluggy.py
    A _pytest/warnings.py
    M appveyor.yml
    A changelog/1505.doc
    A changelog/1997.doc
    A changelog/2658.doc
    A changelog/2775.bugfix
    A changelog/2819.bugfix
    A changelog/2836.bug
    A changelog/2856.bugfix
    A changelog/2882.bugfix
    A changelog/2893.doc
    A changelog/2903.doc
    A changelog/538.doc
    A changelog/911.doc
    A changelog/_template.rst
    M doc/en/Makefile
    M doc/en/_templates/globaltoc.html
    M doc/en/announce/index.rst
    M doc/en/announce/release-2.0.2.rst
    M doc/en/announce/release-2.0.3.rst
    M doc/en/announce/release-2.2.1.rst
    M doc/en/announce/release-2.2.4.rst
    M doc/en/announce/release-2.3.0.rst
    M doc/en/announce/release-2.3.2.rst
    M doc/en/announce/release-2.3.3.rst
    M doc/en/announce/release-2.3.5.rst
    M doc/en/announce/release-2.4.0.rst
    M doc/en/announce/release-2.5.0.rst
    M doc/en/announce/release-2.5.2.rst
    M doc/en/announce/release-2.6.3.rst
    M doc/en/announce/release-2.7.1.rst
    M doc/en/announce/release-2.9.2.rst
    A doc/en/announce/release-3.0.6.rst
    A doc/en/announce/release-3.0.7.rst
    A doc/en/announce/release-3.1.0.rst
    A doc/en/announce/release-3.1.1.rst
    A doc/en/announce/release-3.1.2.rst
    A doc/en/announce/release-3.1.3.rst
    A doc/en/announce/release-3.2.0.rst
    A doc/en/announce/release-3.2.1.rst
    A doc/en/announce/release-3.2.2.rst
    A doc/en/announce/release-3.2.3.rst
    M doc/en/assert.rst
    M doc/en/builtin.rst
    M doc/en/cache.rst
    M doc/en/capture.rst
    M doc/en/conf.py
    M doc/en/contact.rst
    M doc/en/contents.rst
    M doc/en/customize.rst
    A doc/en/development_guide.rst
    M doc/en/doctest.rst
    M doc/en/example/assertion/failure_demo.py
    M doc/en/example/assertion/test_setup_flow_example.py
    M doc/en/example/attic.rst
    M doc/en/example/costlysetup/conftest.py
    M doc/en/example/index.rst
    M doc/en/example/markers.rst
    M doc/en/example/multipython.py
    M doc/en/example/nonpython.rst
    M doc/en/example/parametrize.rst
    M doc/en/example/pythoncollection.py
    M doc/en/example/pythoncollection.rst
    M doc/en/example/reportingdemo.rst
    M doc/en/example/simple.rst
    M doc/en/example/special.rst
    A doc/en/existingtestsuite.rst
    M doc/en/faq.rst
    M doc/en/fixture.rst
    M doc/en/funcarg_compare.rst
    M doc/en/genapi.py
    M doc/en/getting-started.rst
    M doc/en/goodpractices.rst
    A doc/en/historical-notes.rst
    M doc/en/index.rst
    M doc/en/license.rst
    M doc/en/mark.rst
    M doc/en/monkeypatch.rst
    M doc/en/nose.rst
    M doc/en/parametrize.rst
    M doc/en/plugins.rst
    M doc/en/projects.rst
    M doc/en/proposals/parametrize_with_fixtures.rst
    A doc/en/pythonpath.rst
    M doc/en/recwarn.rst
    A doc/en/requirements.txt
    R doc/en/setup.rst
    M doc/en/skipping.rst
    M doc/en/talks.rst
    M doc/en/test/attic.rst
    M doc/en/test/plugin/xdist.rst
    M doc/en/tmpdir.rst
    M doc/en/unittest.rst
    M doc/en/usage.rst
    A doc/en/warnings.rst
    M doc/en/writing_plugins.rst
    A pyproject.toml
    M pytest.py
    M scripts/call-tox.bat
    R scripts/check-manifest.py
    A scripts/check-rst.py
    M setup.cfg
    M setup.py
    A tasks/__init__.py
    A tasks/generate.py
    A tasks/release.minor.rst
    A tasks/release.patch.rst
    A tasks/requirements.txt
    A tasks/vendoring.py
    M testing/acceptance_test.py
    M testing/code/test_code.py
    M testing/code/test_excinfo.py
    M testing/code/test_source.py
    A testing/code/test_source_multiline_block.py
    M testing/deprecated_test.py
    M testing/freeze/create_executable.py
    M testing/freeze/runtests_script.py
    M testing/freeze/tests/test_trivial.py
    M testing/freeze/tox_run.py
    M testing/python/approx.py
    M testing/python/collect.py
    M testing/python/fixture.py
    M testing/python/integration.py
    M testing/python/metafunc.py
    M testing/python/raises.py
    M testing/python/setup_only.py
    M testing/python/show_fixtures_per_test.py
    M testing/test_argcomplete.py
    M testing/test_assertion.py
    M testing/test_assertrewrite.py
    M testing/test_cache.py
    M testing/test_capture.py
    M testing/test_collection.py
    A testing/test_compat.py
    M testing/test_config.py
    M testing/test_conftest.py
    M testing/test_doctest.py
    M testing/test_entry_points.py
    M testing/test_helpconfig.py
    M testing/test_junitxml.py
    M testing/test_mark.py
    A testing/test_modimport.py
    M testing/test_monkeypatch.py
    A testing/test_nodes.py
    M testing/test_nose.py
    M testing/test_parseopt.py
    M testing/test_pastebin.py
    M testing/test_pdb.py
    M testing/test_pluginmanager.py
    M testing/test_pytester.py
    M testing/test_recwarn.py
    M testing/test_resultlog.py
    M testing/test_runner.py
    M testing/test_runner_xunit.py
    M testing/test_session.py
    M testing/test_skipping.py
    M testing/test_terminal.py
    M testing/test_tmpdir.py
    M testing/test_unittest.py
    A testing/test_warnings.py
    M tox.ini

  Log Message:
  -----------
  Merge remote-tracking branch 'upstream/master' into malinoff/fix-2124


  Commit: 6550b9911bd38e3cb01fab0af388530b46619d4b
      https://github.com/pytest-dev/pytest/commit/6550b9911bd38e3cb01fab0af388530b46619d4b
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2017-11-12 (Sun, 12 Nov 2017)

  Changed paths:
    M _pytest/fixtures.py
    M _pytest/hookspec.py
    M testing/python/fixture.py

  Log Message:
  -----------
  pytest_fixture_post_finalizer now receives a request argument


  Commit: f074fd9ac6d5e86a8ec240c395b1d031c45988e2
      https://github.com/pytest-dev/pytest/commit/f074fd9ac6d5e86a8ec240c395b1d031c45988e2
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2017-11-12 (Sun, 12 Nov 2017)

  Changed paths:
    M .coveragerc
    M .travis.yml
    M AUTHORS
    M README.rst
    M _pytest/_argcomplete.py
    M _pytest/_code/code.py
    M _pytest/_code/source.py
    R _pytest/_pluggy.py
    M _pytest/assertion/__init__.py
    M _pytest/assertion/rewrite.py
    M _pytest/assertion/truncate.py
    M _pytest/assertion/util.py
    M _pytest/capture.py
    M _pytest/compat.py
    M _pytest/config.py
    M _pytest/debugging.py
    M _pytest/deprecated.py
    M _pytest/doctest.py
    M _pytest/fixtures.py
    M _pytest/helpconfig.py
    M _pytest/hookspec.py
    A _pytest/logging.py
    M _pytest/main.py
    M _pytest/mark.py
    M _pytest/monkeypatch.py
    M _pytest/nose.py
    M _pytest/outcomes.py
    M _pytest/pastebin.py
    M _pytest/pytester.py
    M _pytest/python.py
    M _pytest/python_api.py
    M _pytest/recwarn.py
    M _pytest/runner.py
    M _pytest/setuponly.py
    M _pytest/skipping.py
    M _pytest/terminal.py
    M _pytest/unittest.py
    R _pytest/vendored_packages/README.md
    R _pytest/vendored_packages/__init__.py
    R _pytest/vendored_packages/pluggy-0.4.0.dist-info/DESCRIPTION.rst
    R _pytest/vendored_packages/pluggy-0.4.0.dist-info/INSTALLER
    R _pytest/vendored_packages/pluggy-0.4.0.dist-info/LICENSE.txt
    R _pytest/vendored_packages/pluggy-0.4.0.dist-info/METADATA
    R _pytest/vendored_packages/pluggy-0.4.0.dist-info/RECORD
    R _pytest/vendored_packages/pluggy-0.4.0.dist-info/WHEEL
    R _pytest/vendored_packages/pluggy-0.4.0.dist-info/metadata.json
    R _pytest/vendored_packages/pluggy-0.4.0.dist-info/top_level.txt
    R _pytest/vendored_packages/pluggy.py
    M _pytest/warnings.py
    M appveyor.yml
    A changelog/1993.bugfix
    A changelog/2236.removal
    A changelog/2267.feature
    A changelog/2491.bugfix
    A changelog/2549.feature
    A changelog/2641.trivial
    A changelog/2642.trivial
    A changelog/2672.removal
    A changelog/2675.removal
    A changelog/2708.feature
    A changelog/2709.bugfix
    A changelog/2719.trivial
    A changelog/2734.trivial
    A changelog/2738.bugfix
    A changelog/2751.bugfix
    A changelog/2767.removal
    A changelog/2767.trivial
    A changelog/2794.feature
    A changelog/2803.removal
    A changelog/2808.feature
    A changelog/2809.bugfix
    A changelog/2812.removal
    A changelog/2824.feature
    A changelog/2845.bugfix
    A changelog/2877.trivial
    A changelog/2879.feature
    A changelog/2910.trivial
    A changelog/502.feature
    M doc/en/contents.rst
    M doc/en/example/multipython.py
    M doc/en/getting-started.rst
    M doc/en/index.rst
    A doc/en/logging.rst
    M doc/en/plugins.rst
    M doc/en/skipping.rst
    M doc/en/usage.rst
    M doc/en/warnings.rst
    M doc/en/writing_plugins.rst
    M pytest.py
    M setup.py
    R tasks/vendoring.py
    M testing/acceptance_test.py
    M testing/code/test_excinfo.py
    M testing/code/test_source.py
    A testing/logging/test_fixture.py
    A testing/logging/test_reporting.py
    M testing/python/approx.py
    M testing/python/collect.py
    M testing/python/fixture.py
    M testing/python/metafunc.py
    A testing/python/test_deprecations.py
    M testing/test_assertrewrite.py
    M testing/test_capture.py
    M testing/test_collection.py
    M testing/test_config.py
    M testing/test_doctest.py
    M testing/test_parseopt.py
    M testing/test_pluginmanager.py
    M testing/test_pytester.py
    M testing/test_recwarn.py
    M testing/test_runner.py
    M testing/test_skipping.py
    M testing/test_terminal.py
    M testing/test_unittest.py
    M testing/test_warnings.py
    M tox.ini

  Log Message:
  -----------
  Merge remote-tracking branch 'upstream/features' into malinoff/fix-2124


  Commit: 063335a715bce042e0c9e591ab8ad406488cb5dc
      https://github.com/pytest-dev/pytest/commit/063335a715bce042e0c9e591ab8ad406488cb5dc
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2017-11-12 (Sun, 12 Nov 2017)

  Changed paths:
    A changelog/2124.bugfix
    A changelog/2124.feature

  Log Message:
  -----------
  Add changelog entries for #2124


  Commit: bdad345f991cae76896476a1b574269b23085bc3
      https://github.com/pytest-dev/pytest/commit/bdad345f991cae76896476a1b574269b23085bc3
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2017-11-12 (Sun, 12 Nov 2017)

  Changed paths:
    M _pytest/fixtures.py

  Log Message:
  -----------
  Fix passing request to finish() in FixtureDef


  Commit: 6d3fe0b826c2aacf1eec573ed0fd50eb8774ee77
      https://github.com/pytest-dev/pytest/commit/6d3fe0b826c2aacf1eec573ed0fd50eb8774ee77
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2017-11-12 (Sun, 12 Nov 2017)

  Changed paths:
    M _pytest/fixtures.py

  Log Message:
  -----------
  Explicitly clear finalizers list in finalize to ensure cleanup


  Commit: a6f2d2d2c958d743813414e46041adf3e47fb997
      https://github.com/pytest-dev/pytest/commit/a6f2d2d2c958d743813414e46041adf3e47fb997
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2017-11-12 (Sun, 12 Nov 2017)

  Changed paths:
    M _pytest/fixtures.py

  Log Message:
  -----------
  Rename FixtureDef.finalizer to FixtureDef.finalizers


  Commit: 685387a43ec504f3b6447dcf389a65fad342d548
      https://github.com/pytest-dev/pytest/commit/685387a43ec504f3b6447dcf389a65fad342d548
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2017-11-12 (Sun, 12 Nov 2017)

  Changed paths:
    M _pytest/fixtures.py
    M _pytest/hookspec.py
    M _pytest/main.py
    M _pytest/runner.py
    A changelog/2124.bugfix
    A changelog/2124.feature
    A changelog/2775.bugfix
    M testing/acceptance_test.py
    M testing/python/fixture.py

  Log Message:
  -----------
  Merge pull request #2127 from malinoff/fix-2124

Use session.config.hook instead of ihook. Fixes #2124


Compare: https://github.com/pytest-dev/pytest/compare/d1af369800e8...685387a43ec5


More information about the pytest-commit mailing list