[Pytest-commit] [pytest-dev/pytest] 391553: Disable output capturing in doctest to avoid losin...

Bruno Oliveira nicoddemus at gmail.com
Wed Feb 21 10:11:41 EST 2018


  Branch: refs/heads/features
  Home:   https://github.com/pytest-dev/pytest
  Commit: 391553887b072d1a533a83226995785bef28fe34
      https://github.com/pytest-dev/pytest/commit/391553887b072d1a533a83226995785bef28fe34
  Author: Jason R. Coombs <jaraco at jaraco.com>
  Date:   2018-02-13 (Tue, 13 Feb 2018)

  Changed paths:
    M _pytest/doctest.py

  Log Message:
  -----------
  Disable output capturing in doctest to avoid losing reference to stdout. Fixes #985.


  Commit: d845af7b2405438a3f1b46f9ed65293543bc2cc7
      https://github.com/pytest-dev/pytest/commit/d845af7b2405438a3f1b46f9ed65293543bc2cc7
  Author: Jason R. Coombs <jaraco at jaraco.com>
  Date:   2018-02-13 (Tue, 13 Feb 2018)

  Changed paths:
    A changelog/985.bugfix

  Log Message:
  -----------
  Add changelog. Ref #985.


  Commit: ce1872e7e87fd97a3e8e9daf2797f38dd8aff985
      https://github.com/pytest-dev/pytest/commit/ce1872e7e87fd97a3e8e9daf2797f38dd8aff985
  Author: Jason R. Coombs <jaraco at jaraco.com>
  Date:   2018-02-13 (Tue, 13 Feb 2018)

  Changed paths:
    M .github/PULL_REQUEST_TEMPLATE.md
    M .travis.yml
    M _pytest/debugging.py
    M _pytest/fixtures.py
    M _pytest/mark.py
    M _pytest/python.py
    M _pytest/python_api.py
    A changelog/1810.bugfix.rst
    A changelog/3161.bugfix.rst
    A changelog/3166.trivial.rst
    A changelog/3202.doc.rst
    A changelog/985.trivial.rst
    A changelog/README.rst
    M doc/en/writing_plugins.rst
    M setup.py
    M tasks/requirements.txt
    M testing/python/fixture.py
    M testing/test_pdb.py
    M testing/test_recwarn.py

  Log Message:
  -----------
  Merge branch 'master' into bugfix/985/disable-output-capturing-in-doctest


  Commit: 247cdb835a404f9668022984bb688496b48e5809
      https://github.com/pytest-dev/pytest/commit/247cdb835a404f9668022984bb688496b48e5809
  Author: Jason R. Coombs <jaraco at jaraco.com>
  Date:   2018-02-13 (Tue, 13 Feb 2018)

  Changed paths:
    M testing/test_pdb.py

  Log Message:
  -----------
  Remove xfail; tests now pass on macOS. Ref #985.


  Commit: 18c84a1904e96d5a4fc265b0fde56765ca36c7c3
      https://github.com/pytest-dev/pytest/commit/18c84a1904e96d5a4fc265b0fde56765ca36c7c3
  Author: Jason R. Coombs <jaraco at jaraco.com>
  Date:   2018-02-13 (Tue, 13 Feb 2018)

  Changed paths:
    M _pytest/doctest.py

  Log Message:
  -----------
  Restrict fix to macOS only. Ref #3215.


  Commit: 9849022eb2421c9e468609cbbbedf63a8a042702
      https://github.com/pytest-dev/pytest/commit/9849022eb2421c9e468609cbbbedf63a8a042702
  Author: Florian Bruhin <git at the-compiler.org>
  Date:   2018-02-14 (Wed, 14 Feb 2018)

  Changed paths:
    M _pytest/python_api.py
    A changelog/3222.trivial

  Log Message:
  -----------
  Remove "matching '...'" part from the pytest.raises message

When a test with pytest.raises(ValueError, match='foo') doesn't raise, the
following error is printed:

    Failed: DID NOT RAISE <class 'ValueError'> matching 'foo'

This error message is confusing as it implies a ValueError was raised, but the
message wasn't matching 'foo'.

I first considered rewording it somehow to preserve the match pattern in it, but
I don't think that's worthwhile as the pattern should usually be apparent from
the stacktrace anyways (hard-coded, as parametrization, or with --showlocals for
more sophisticated cases).


  Commit: 3cbf0c8ec028e4fdba2e66327a2d4f01025804c4
      https://github.com/pytest-dev/pytest/commit/3cbf0c8ec028e4fdba2e66327a2d4f01025804c4
  Author: Florian Bruhin <git at the-compiler.org>
  Date:   2018-02-15 (Thu, 15 Feb 2018)

  Changed paths:
    M _pytest/python_api.py
    A changelog/3222.bugfix
    R changelog/3222.trivial
    M testing/python/raises.py

  Log Message:
  -----------
  Raise unexpected exceptions with pytest.raises() using match=


  Commit: 435b8ddc7c681a4ba4490388756c7d49666ee8bf
      https://github.com/pytest-dev/pytest/commit/435b8ddc7c681a4ba4490388756c7d49666ee8bf
  Author: Jason R. Coombs <jaraco at jaraco.com>
  Date:   2018-02-15 (Thu, 15 Feb 2018)

  Changed paths:
    M _pytest/doctest.py

  Log Message:
  -----------
  Rename method for additional clarity.


  Commit: bfe2cbe875f81bd8e333796d2594a9cd36806374
      https://github.com/pytest-dev/pytest/commit/bfe2cbe875f81bd8e333796d2594a9cd36806374
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2018-02-17 (Sat, 17 Feb 2018)

  Changed paths:
    M .travis.yml
    M HOWTORELEASE.rst
    A changelog/3060.trivial.rst
    M tasks/generate.py
    M tasks/requirements.txt

  Log Message:
  -----------
  Implement publishing to PyPI by pushing a tag

Fix #3060


  Commit: 0f6879bf5e55ea2dd323c25dba975ab8c864435f
      https://github.com/pytest-dev/pytest/commit/0f6879bf5e55ea2dd323c25dba975ab8c864435f
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2018-02-17 (Sat, 17 Feb 2018)

  Changed paths:
    M changelog/README.rst

  Log Message:
  -----------
  Small update to changelog/README.rst


  Commit: 254e357076a8826d19219a769ea909c28c1d6f35
      https://github.com/pytest-dev/pytest/commit/254e357076a8826d19219a769ea909c28c1d6f35
  Author: Jason R. Coombs <jaraco at jaraco.com>
  Date:   2018-02-17 (Sat, 17 Feb 2018)

  Changed paths:
    M _pytest/doctest.py

  Log Message:
  -----------
  Correct the broken indentation.


  Commit: 4131d3f300196da059f5abe6d36f4870459692ad
      https://github.com/pytest-dev/pytest/commit/4131d3f300196da059f5abe6d36f4870459692ad
  Author: Jason R. Coombs <jaraco at jaraco.com>
  Date:   2018-02-17 (Sat, 17 Feb 2018)

  Changed paths:
    M _pytest/doctest.py

  Log Message:
  -----------
  Probably it's best to write the err stream to stderr.


  Commit: 9d879bee360d4119800c0bc44f1be987b300e2a4
      https://github.com/pytest-dev/pytest/commit/9d879bee360d4119800c0bc44f1be987b300e2a4
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2018-02-17 (Sat, 17 Feb 2018)

  Changed paths:
    M _pytest/doctest.py
    A changelog/985.bugfix
    M testing/test_pdb.py

  Log Message:
  -----------
  Merge pull request #3215 from pytest-dev/bugfix/985/disable-output-capturing-in-doctest

Disable output capturing in doctest


  Commit: b486e1294b9202f770c6f7481a521e55f8908dbe
      https://github.com/pytest-dev/pytest/commit/b486e1294b9202f770c6f7481a521e55f8908dbe
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2018-02-17 (Sat, 17 Feb 2018)

  Changed paths:
    M _pytest/python_api.py
    A changelog/3222.bugfix
    M testing/python/raises.py

  Log Message:
  -----------
  Merge pull request #3222 from The-Compiler/match-msg

Remove "matching '...'" part from the pytest.raises message


  Commit: 053fc118b7af3b77c42daddd6ceacd13394cf64a
      https://github.com/pytest-dev/pytest/commit/053fc118b7af3b77c42daddd6ceacd13394cf64a
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M .travis.yml
    M HOWTORELEASE.rst
    A changelog/3060.trivial.rst
    M tasks/generate.py
    M tasks/requirements.txt

  Log Message:
  -----------
  Merge pull request #3199 from nicoddemus/publish-tag-3060

Implement deploying to PyPI by pushing a tag


  Commit: f8fdf0ae915e3798c876e780fb15263ec18caf97
      https://github.com/pytest-dev/pytest/commit/f8fdf0ae915e3798c876e780fb15263ec18caf97
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2018-02-20 (Tue, 20 Feb 2018)

  Changed paths:
    M tasks/generate.py

  Log Message:
  -----------
  Add --yes to towncrier to automatically remove files


  Commit: b3193755927d38816e25777d9ac6776637d82bbf
      https://github.com/pytest-dev/pytest/commit/b3193755927d38816e25777d9ac6776637d82bbf
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2018-02-20 (Tue, 20 Feb 2018)

  Changed paths:
    M CHANGELOG.rst
    M doc/en/announce/index.rst
    A doc/en/announce/release-3.4.1.rst
    M doc/en/example/reportingdemo.rst
    M doc/en/example/simple.rst

  Log Message:
  -----------
  Preparing release version 3.4.1


  Commit: 9361d48b6189ba2d2bf5b426c2fb9dde548796e1
      https://github.com/pytest-dev/pytest/commit/9361d48b6189ba2d2bf5b426c2fb9dde548796e1
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2018-02-20 (Tue, 20 Feb 2018)

  Changed paths:
    M CHANGELOG.rst
    M doc/en/announce/index.rst
    A doc/en/announce/release-3.4.1.rst
    M doc/en/example/reportingdemo.rst
    M doc/en/example/simple.rst
    M tasks/generate.py

  Log Message:
  -----------
  Merge pull request #3239 from nicoddemus/release-3.4.1

Release 3.4.1


  Commit: 2a99e5dd2ab2a828064f5389fc1c9ca236463ac5
      https://github.com/pytest-dev/pytest/commit/2a99e5dd2ab2a828064f5389fc1c9ca236463ac5
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2018-02-20 (Tue, 20 Feb 2018)

  Changed paths:
    R changelog/1810.bugfix.rst
    R changelog/3052.bugfix
    R changelog/3060.trivial.rst
    R changelog/3161.bugfix.rst
    R changelog/3166.trivial.rst
    R changelog/3184.bugfix
    R changelog/3202.doc.rst
    R changelog/3206.bugfix.rst
    R changelog/3222.bugfix
    R changelog/985.bugfix
    R changelog/985.trivial.rst

  Log Message:
  -----------
  Delete changelog entries for 3.4.1 release

Unfortunately due to hawkowl/towncrier#99 those news fragments were
not deleted at the time of CHANGELOG generation.


  Commit: dae74b674ecb660082271d8bbe0e42ccb925eaa5
      https://github.com/pytest-dev/pytest/commit/dae74b674ecb660082271d8bbe0e42ccb925eaa5
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2018-02-21 (Wed, 21 Feb 2018)

  Changed paths:
    R changelog/1810.bugfix.rst
    R changelog/3052.bugfix
    R changelog/3060.trivial.rst
    R changelog/3161.bugfix.rst
    R changelog/3166.trivial.rst
    R changelog/3184.bugfix
    R changelog/3202.doc.rst
    R changelog/3206.bugfix.rst
    R changelog/3222.bugfix
    R changelog/985.bugfix
    R changelog/985.trivial.rst

  Log Message:
  -----------
  Merge pull request #3242 from nicoddemus/delete-changelog-3.4.1

Delete changelog entries for 3.4.1 release


  Commit: 7a62619a75693ed7ec6c74841a423ea07e50dfa7
      https://github.com/pytest-dev/pytest/commit/7a62619a75693ed7ec6c74841a423ea07e50dfa7
  Author: Bruno Oliveira <nicoddemus at gmail.com>
  Date:   2018-02-21 (Wed, 21 Feb 2018)

  Changed paths:
    M .travis.yml
    M CHANGELOG.rst
    M HOWTORELEASE.rst
    M _pytest/doctest.py
    M _pytest/python_api.py
    R changelog/1810.bugfix.rst
    R changelog/3052.bugfix
    R changelog/3161.bugfix.rst
    R changelog/3166.trivial.rst
    R changelog/3184.bugfix
    R changelog/3202.doc.rst
    R changelog/3206.bugfix.rst
    R changelog/985.trivial.rst
    M changelog/README.rst
    M doc/en/announce/index.rst
    A doc/en/announce/release-3.4.1.rst
    M doc/en/example/reportingdemo.rst
    M doc/en/example/simple.rst
    M tasks/generate.py
    M tasks/requirements.txt
    M testing/python/raises.py
    M testing/test_pdb.py

  Log Message:
  -----------
  Merge remote-tracking branch 'upstream/master' into features


Compare: https://github.com/pytest-dev/pytest/compare/97bb6abcfa4d...7a62619a7569


More information about the pytest-commit mailing list