{"action":"created","issue":{"url":"https://api.github.com/repos/audreyr/cookiecutter-pypackage/issues/293","repository_url":"https://api.github.com/repos/audreyr/cookiecutter-pypackage","labels_url":"https://api.github.com/repos/audreyr/cookiecutter-pypackage/issues/293/labels{/name}","comments_url":"https://api.github.com/repos/audreyr/cookiecutter-pypackage/issues/293/comments","events_url":"https://api.github.com/repos/audreyr/cookiecutter-pypackage/issues/293/events","html_url":"https://github.com/audreyr/cookiecutter-pypackage/pull/293","id":202413464,"number":293,"title":"Update pytest to 3.0.6","user":{"login":"pyup-bot","id":16239342,"avatar_url":"https://avatars3.githubusercontent.com/u/16239342?v=3","gravatar_id":"","url":"https://api.github.com/users/pyup-bot","html_url":"https://github.com/pyup-bot","followers_url":"https://api.github.com/users/pyup-bot/followers","following_url":"https://api.github.com/users/pyup-bot/following{/other_user}","gists_url":"https://api.github.com/users/pyup-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/pyup-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyup-bot/subscriptions","organizations_url":"https://api.github.com/users/pyup-bot/orgs","repos_url":"https://api.github.com/users/pyup-bot/repos","events_url":"https://api.github.com/users/pyup-bot/events{/privacy}","received_events_url":"https://api.github.com/users/pyup-bot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-22T21:59:46Z","updated_at":"2017-03-14T21:47:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/audreyr/cookiecutter-pypackage/pulls/293","html_url":"https://github.com/audreyr/cookiecutter-pypackage/pull/293","diff_url":"https://github.com/audreyr/cookiecutter-pypackage/pull/293.diff","patch_url":"https://github.com/audreyr/cookiecutter-pypackage/pull/293.patch"},"body":"\nThere's a new version of [pytest](https://pypi.python.org/pypi/pytest) available.\nYou are currently using **2.9.2**. I have updated it to **3.0.6**\n\n\n\nThese links might come in handy:  <a href=\"http://pypi.python.org/pypi/pytest\">PyPI</a> | <a href=\"https://pyup.io/changelogs/pytest/\">Changelog</a> | <a href=\"http://pytest.org\">Homepage</a> \n\n\n\n### Changelog\n> \n>### 3.0.6.dev0\n\n>=======================\n\n>* pytest no longer generates ``PendingDeprecationWarning`` from its own operations, which was introduced by mistake in version ``3.0.5`` (`2118`_).\n>  Thanks to `nicoddemus`_ for the report and `RonnyPfannschmidt`_ for the PR.\n\n\n\n>* pytest no longer recognizes coroutine functions as yield tests (`2129`_).\n>  Thanks to `malinoff`_ for the PR.\n\n>* Plugins loaded by the ``PYTEST_PLUGINS`` environment variable are now automatically\n>  considered for assertion rewriting (`2185`_).\n>  Thanks `nicoddemus`_ for the PR.\n\n>* Improve error message when pytest.warns fails (`2150`_). The type(s) of the\n>  expected warnings and the list of caught warnings is added to the\n>  error message. Thanks `lesteve`_ for the PR.\n\n>* Fix ``pytester`` internal plugin to work correctly with latest versions of\n>  ``zope.interface`` (`1989`_). Thanks `nicoddemus`_ for the PR.\n\n>* Assert statements of the ``pytester`` plugin again benefit from assertion rewriting (`1920`_).\n>  Thanks `RonnyPfannschmidt`_ for the report and `nicoddemus`_ for the PR.\n\n>* Specifying tests with colons like ``test_foo.py::test_bar`` for tests in\n>  subdirectories with ini configuration files now uses the correct ini file\n>  (`2148`_).  Thanks `pelme`_.\n\n>* Fail ``testdir.runpytest().assert_outcomes()`` explicitly if the pytest\n>  terminal output it relies on is missing. Thanks to `eli-b`_ for the PR.\n\n>*\n\n>.. _lesteve: https://github.com/lesteve\n>.. _malinoff: https://github.com/malinoff\n>.. _pelme: https://github.com/pelme\n>.. _eli-b: https://github.com/eli-b\n\n>.. _2118: https://github.com/pytest-dev/pytest/issues/2118\n\n>.. _1989: https://github.com/pytest-dev/pytest/issues/1989\n>.. _1920: https://github.com/pytest-dev/pytest/issues/1920\n>.. _2129: https://github.com/pytest-dev/pytest/issues/2129\n>.. _2148: https://github.com/pytest-dev/pytest/issues/2148\n>.. _2150: https://github.com/pytest-dev/pytest/issues/2150\n>.. _2185: https://github.com/pytest-dev/pytest/issues/2185\n\n\n\n\n>### 3.0.5\n\n>==================\n\n>* Add warning when not passing ``option=value`` correctly to ``-o/--override-ini`` (`2105`_).\n>  Also improved the help documentation. Thanks to `mbukatov`_ for the report and\n>  `lwm`_ for the PR.\n\n>* Now ``--confcutdir`` and ``--junit-xml`` are properly validated if they are directories\n>  and filenames, respectively (`2089`_ and `2078`_). Thanks to `lwm`_ for the PR.\n\n>* Add hint to error message hinting possible missing ``__init__.py`` (`478`_). Thanks `DuncanBetts`_.\n\n>* More accurately describe when fixture finalization occurs in documentation (`687`_). Thanks `DuncanBetts`_.\n\n>* Provide ``:ref:`` targets for ``recwarn.rst`` so we can use intersphinx referencing.\n>  Thanks to `dupuy`_ for the report and `lwm`_ for the PR.\n\n>* In Python 2, use a simple ``+-`` ASCII string in the string representation of ``pytest.approx`` (for example ``&quot;4 +- 4.0e-06&quot;``)\n>  because it is brittle to handle that in different contexts and representations internally in pytest\n>  which can result in bugs such as `2111`_. In Python 3, the representation still uses ``±`` (for example ``4 ± 4.0e-06``).\n>  Thanks `kerrick-lyft`_ for the report and `nicoddemus`_ for the PR.\n\n>* Using ``item.Function``, ``item.Module``, etc., is now issuing deprecation warnings, prefer\n>  ``pytest.Function``, ``pytest.Module``, etc., instead (`2034`_).\n>  Thanks `nmundar`_ for the PR.\n\n>* Fix error message using ``approx`` with complex numbers (`2082`_).\n>  Thanks `adler-j`_ for the report and `nicoddemus`_ for the PR.\n\n>* Fixed false-positives warnings from assertion rewrite hook for modules imported more than\n>  once by the ``pytest_plugins`` mechanism.\n>  Thanks `nicoddemus`_ for the PR.\n\n>* Remove an internal cache which could cause hooks from ``conftest.py`` files in\n>  sub-directories to be called in other directories incorrectly (`2016`_).\n>  Thanks `d-b-w`_ for the report and `nicoddemus`_ for the PR.\n\n>* Remove internal code meant to support earlier Python 3 versions that produced the side effect\n>  of leaving ``None`` in ``sys.modules`` when expressions were evaluated by pytest (for example passing a condition\n>  as a string to ``pytest.mark.skipif``)(`2103`_).\n>  Thanks `jaraco`_ for the report and `nicoddemus`_ for the PR.\n\n>* Cope gracefully with a .pyc file with no matching .py file (`2038`_). Thanks\n>  `nedbat`_.\n\n>.. _adler-j: https://github.com/adler-j\n>.. _d-b-w: https://bitbucket.org/d-b-w/\n>.. _DuncanBetts: https://github.com/DuncanBetts\n>.. _dupuy: https://bitbucket.org/dupuy/\n>.. _kerrick-lyft: https://github.com/kerrick-lyft\n>.. _lwm: https://github.com/lwm\n>.. _mbukatov: https://github.com/mbukatov\n>.. _nedbat: https://github.com/nedbat\n>.. _nmundar: https://github.com/nmundar\n\n>.. _2016: https://github.com/pytest-dev/pytest/issues/2016\n>.. _2034: https://github.com/pytest-dev/pytest/issues/2034\n>.. _2038: https://github.com/pytest-dev/pytest/issues/2038\n>.. _2078: https://github.com/pytest-dev/pytest/issues/2078\n>.. _2082: https://github.com/pytest-dev/pytest/issues/2082\n>.. _2089: https://github.com/pytest-dev/pytest/issues/2089\n>.. _2103: https://github.com/pytest-dev/pytest/issues/2103\n>.. _2105: https://github.com/pytest-dev/pytest/issues/2105\n>.. _2111: https://github.com/pytest-dev/pytest/issues/2111\n>.. _478: https://github.com/pytest-dev/pytest/issues/478\n>.. _687: https://github.com/pytest-dev/pytest/issues/687\n\n\n\n\n>### 3.0.4\n\n>==================\n\n>* Import errors when collecting test modules now display the full traceback (`1976`_).\n>  Thanks `cwitty`_ for the report and `nicoddemus`_ for the PR.\n\n>* Fix confusing command-line help message for custom options with two or more ``metavar`` properties (`2004`_).\n>  Thanks `okulynyak`_ and `davehunt`_ for the report and `nicoddemus`_ for the PR.\n\n>* When loading plugins, import errors which contain non-ascii messages are now properly handled in Python 2 (`1998`_).\n>  Thanks `nicoddemus`_ for the PR.\n\n>* Fixed cyclic reference when ``pytest.raises`` is used in context-manager form (`1965`_). Also as a\n>  result of this fix, ``sys.exc_info()`` is left empty in both context-manager and function call usages.\n>  Previously, ``sys.exc_info`` would contain the exception caught by the context manager,\n>  even when the expected exception occurred.\n>  Thanks `MSeifert04`_ for the report and the PR.\n\n>* Fixed false-positives warnings from assertion rewrite hook for modules that were rewritten but\n>  were later marked explicitly by ``pytest.register_assert_rewrite``\n>  or implicitly as a plugin (`2005`_).\n>  Thanks `RonnyPfannschmidt`_ for the report and `nicoddemus`_ for the PR.\n\n>* Report teardown output on test failure (`442`_).\n>  Thanks `matclab`_ for the PR.\n\n>* Fix teardown error message in generated xUnit XML.\n>  Thanks `gdyuldin`_ for the PR.\n\n>* Properly handle exceptions in ``multiprocessing`` tasks (`1984`_).\n>  Thanks `adborden`_ for the report and `nicoddemus`_ for the PR.\n\n>* Clean up unittest TestCase objects after tests are complete (`1649`_).\n>  Thanks `d_b_w`_ for the report and PR.\n\n\n>.. _adborden: https://github.com/adborden\n>.. _cwitty: https://github.com/cwitty\n>.. _d_b_w: https://github.com/d_b_w\n>.. _gdyuldin: https://github.com/gdyuldin\n>.. _matclab: https://github.com/matclab\n>.. _MSeifert04: https://github.com/MSeifert04\n>.. _okulynyak: https://github.com/okulynyak\n\n>.. _442: https://github.com/pytest-dev/pytest/issues/442\n>.. _1965: https://github.com/pytest-dev/pytest/issues/1965\n>.. _1976: https://github.com/pytest-dev/pytest/issues/1976\n>.. _1984: https://github.com/pytest-dev/pytest/issues/1984\n>.. _1998: https://github.com/pytest-dev/pytest/issues/1998\n>.. _2004: https://github.com/pytest-dev/pytest/issues/2004\n>.. _2005: https://github.com/pytest-dev/pytest/issues/2005\n>.. _1649: https://github.com/pytest-dev/pytest/issues/1649\n\n\n\n\n>### 3.0.3\n\n>==================\n\n>* The ``ids`` argument to ``parametrize`` again accepts ``unicode`` strings\n>  in Python 2 (`1905`_).\n>  Thanks `philpep`_ for the report and `nicoddemus`_ for the PR.\n\n>* Assertions are now being rewritten for plugins in development mode\n>  (``pip install -e``) (`1934`_).\n>  Thanks `nicoddemus`_ for the PR.\n\n>* Fix pkg_resources import error in Jython projects (`1853`_).\n>  Thanks `raquel-ucl`_ for the PR.\n\n>* Got rid of ``AttributeError: &#39;Module&#39; object has no attribute &#39;_obj&#39;`` exception\n>  in Python 3 (`1944`_).\n>  Thanks `axil`_ for the PR.\n\n>* Explain a bad scope value passed to ``fixture`` declarations or\n>  a ``MetaFunc.parametrize()`` call. Thanks `tgoodlet`_ for the PR.\n\n>* This version includes ``pluggy-0.4.0``, which correctly handles\n>  ``VersionConflict`` errors in plugins (`704`_).\n>  Thanks `nicoddemus`_ for the PR.\n\n\n>.. _philpep: https://github.com/philpep\n>.. _raquel-ucl: https://github.com/raquel-ucl\n>.. _axil: https://github.com/axil\n>.. _tgoodlet: https://github.com/tgoodlet\n\n>.. _1853: https://github.com/pytest-dev/pytest/issues/1853\n>.. _1905: https://github.com/pytest-dev/pytest/issues/1905\n>.. _1934: https://github.com/pytest-dev/pytest/issues/1934\n>.. _1944: https://github.com/pytest-dev/pytest/issues/1944\n>.. _704: https://github.com/pytest-dev/pytest/issues/704\n\n\n\n\n\n>### 3.0.2\n\n>==================\n\n>* Improve error message when passing non-string ids to ``pytest.mark.parametrize`` (`1857`_).\n>  Thanks `okken`_ for the report and `nicoddemus`_ for the PR.\n\n>* Add ``buffer`` attribute to stdin stub class ``pytest.capture.DontReadFromInput``\n>  Thanks `joguSD`_ for the PR.\n\n>* Fix ``UnicodeEncodeError`` when string comparison with unicode has failed. (`1864`_)\n>  Thanks `AiOO`_ for the PR.\n\n>* ``pytest_plugins`` is now handled correctly if defined as a string (as opposed as\n>  a sequence of strings) when modules are considered for assertion rewriting.\n>  Due to this bug, much more modules were being rewritten than necessary\n>  if a test suite uses ``pytest_plugins`` to load internal plugins (`1888`_).\n>  Thanks `jaraco`_ for the report and `nicoddemus`_ for the PR (`1891`_).\n\n>* Do not call tearDown and cleanups when running tests from\n>  ``unittest.TestCase`` subclasses with ``--pdb``\n>  enabled. This allows proper post mortem debugging for all applications\n>  which have significant logic in their tearDown machinery (`1890`_). Thanks\n>  `mbyt`_ for the PR.\n\n>* Fix use of deprecated ``getfuncargvalue`` method in the internal doctest plugin.\n>  Thanks `ViviCoder`_ for the report (`1898`_).\n\n>.. _joguSD: https://github.com/joguSD\n>.. _AiOO: https://github.com/AiOO\n>.. _mbyt: https://github.com/mbyt\n>.. _ViviCoder: https://github.com/ViviCoder\n\n>.. _1857: https://github.com/pytest-dev/pytest/issues/1857\n>.. _1864: https://github.com/pytest-dev/pytest/issues/1864\n>.. _1888: https://github.com/pytest-dev/pytest/issues/1888\n>.. _1891: https://github.com/pytest-dev/pytest/pull/1891\n>.. _1890: https://github.com/pytest-dev/pytest/issues/1890\n>.. _1898: https://github.com/pytest-dev/pytest/issues/1898\n\n\n\n\n>### 3.0.1\n\n>==================\n\n>* Fix regression when ``importorskip`` is used at module level (`1822`_).\n>  Thanks `jaraco`_ and `The-Compiler`_ for the report and `nicoddemus`_ for the PR.\n\n>* Fix parametrization scope when session fixtures are used in conjunction\n>  with normal parameters in the same call (`1832`_).\n>  Thanks `The-Compiler`_ for the report, `Kingdread`_ and `nicoddemus`_ for the PR.\n\n>* Fix internal error when parametrizing tests or fixtures using an empty ``ids`` argument (`1849`_).\n>  Thanks `OPpuolitaival`_ for the report and `nicoddemus`_ for the PR.\n\n>* Fix loader error when running ``pytest`` embedded in a zipfile.\n>  Thanks `mbachry`_ for the PR.\n\n\n>.. _Kingdread: https://github.com/Kingdread\n>.. _mbachry: https://github.com/mbachry\n>.. _OPpuolitaival: https://github.com/OPpuolitaival\n\n>.. _1822: https://github.com/pytest-dev/pytest/issues/1822\n>.. _1832: https://github.com/pytest-dev/pytest/issues/1832\n>.. _1849: https://github.com/pytest-dev/pytest/issues/1849\n\n\n\n\n>### 3.0.0\n\n>==================\n\n>**Incompatible changes**\n\n\n>A number of incompatible changes were made in this release, with the intent of removing features deprecated for a long\n>time or change existing behaviors in order to make them less surprising/more useful.\n\n>* Reinterpretation mode has now been removed.  Only plain and rewrite\n>  mode are available, consequently the ``--assert=reinterp`` option is\n>  no longer available.  This also means files imported from plugins or\n>  ``conftest.py`` will not benefit from improved assertions by\n>  default, you should use ``pytest.register_assert_rewrite()`` to\n>  explicitly turn on assertion rewriting for those files.  Thanks\n>  `flub`_ for the PR.\n\n>* The following deprecated commandline options were removed:\n\n>  * ``--genscript``: no longer supported;\n>  * ``--no-assert``: use ``--assert=plain`` instead;\n>  * ``--nomagic``: use ``--assert=plain`` instead;\n>  * ``--report``: use ``-r`` instead;\n\n>  Thanks to `RedBeardCode`_ for the PR (`1664`_).\n\n>* ImportErrors in plugins now are a fatal error instead of issuing a\n>  pytest warning (`1479`_). Thanks to `The-Compiler`_ for the PR.\n\n>* Removed support code for Python 3 versions &lt; 3.3 (`1627`_).\n\n>* Removed all ``py.test-X*`` entry points. The versioned, suffixed entry points\n>  were never documented and a leftover from a pre-virtualenv era. These entry\n>  points also created broken entry points in wheels, so removing them also\n>  removes a source of confusion for users (`1632`_).\n>  Thanks `obestwalter`_ for the PR.\n\n>* ``pytest.skip()`` now raises an error when used to decorate a test function,\n>  as opposed to its original intent (to imperatively skip a test inside a test function). Previously\n>  this usage would cause the entire module to be skipped (`607`_).\n>  Thanks `omarkohl`_ for the complete PR (`1519`_).\n\n>* Exit tests if a collection error occurs. A poll indicated most users will hit CTRL-C\n>  anyway as soon as they see collection errors, so pytest might as well make that the default behavior (`1421`_).\n>  A ``--continue-on-collection-errors`` option has been added to restore the previous behaviour.\n>  Thanks `olegpidsadnyi`_ and `omarkohl`_ for the complete PR (`1628`_).\n\n>* Renamed the pytest ``pdb`` module (plugin) into ``debugging`` to avoid clashes with the builtin ``pdb`` module.\n\n>* Raise a helpful failure message when requesting a parametrized fixture at runtime,\n>  e.g. with ``request.getfixturevalue``. Previously these parameters were simply\n>  never defined, so a fixture decorated like ``pytest.fixture(params=[0, 1, 2])``\n>  only ran once (`460`_).\n>  Thanks to `nikratio`_ for the bug report, `RedBeardCode`_ and `tomviner`_ for the PR.\n\n>* ``_pytest.monkeypatch.monkeypatch`` class has been renamed to ``_pytest.monkeypatch.MonkeyPatch``\n>  so it doesn&#39;t conflict with the ``monkeypatch`` fixture.\n\n>* ``--exitfirst / -x`` can now be overridden by a following ``--maxfail=N``\n>  and is just a synonym for ``--maxfail=1``.\n\n\n>**New Features**\n\n>* Support nose-style ``__test__`` attribute on methods of classes,\n>  including unittest-style Classes. If set to ``False``, the test will not be\n>  collected.\n\n>* New ``doctest_namespace`` fixture for injecting names into the\n>  namespace in which doctests run.\n>  Thanks `milliams`_ for the complete PR (`1428`_).\n\n>* New ``--doctest-report`` option available to change the output format of diffs\n>  when running (failing) doctests (implements `1749`_).\n>  Thanks `hartym`_ for the PR.\n\n>* New ``name`` argument to ``pytest.fixture`` decorator which allows a custom name\n>  for a fixture (to solve the funcarg-shadowing-fixture problem).\n>  Thanks `novas0x2a`_ for the complete PR (`1444`_).\n\n>* New ``approx()`` function for easily comparing floating-point numbers in\n>  tests.\n>  Thanks `kalekundert`_ for the complete PR (`1441`_).\n\n>* Ability to add global properties in the final xunit output file by accessing\n>  the internal ``junitxml`` plugin (experimental).\n>  Thanks `tareqalayan`_ for the complete PR `1454`_).\n\n>* New ``ExceptionInfo.match()`` method to match a regular expression on the\n>  string representation of an exception (`372`_).\n>  Thanks `omarkohl`_ for the complete PR (`1502`_).\n\n>* ``__tracebackhide__`` can now also be set to a callable which then can decide\n>  whether to filter the traceback based on the ``ExceptionInfo`` object passed\n>  to it. Thanks `The-Compiler`_ for the complete PR (`1526`_).\n\n>* New ``pytest_make_parametrize_id(config, val)`` hook which can be used by plugins to provide\n>  friendly strings for custom types.\n>  Thanks `palaviv`_ for the PR.\n\n>* ``capsys`` and ``capfd`` now have a ``disabled()`` context-manager method, which\n>  can be used to temporarily disable capture within a test.\n>  Thanks `nicoddemus`_ for the PR.\n\n>* New cli flag ``--fixtures-per-test``: shows which fixtures are being used\n>  for each selected test item. Features doc strings of fixtures by default.\n>  Can also show where fixtures are defined if combined with ``-v``.\n>  Thanks `hackebrot`_ for the PR.\n\n>* Introduce ``pytest`` command as recommended entry point. Note that ``py.test``\n>  still works and is not scheduled for removal. Closes proposal\n>  `1629`_. Thanks `obestwalter`_ and `davehunt`_ for the complete PR\n>  (`1633`_).\n\n>* New cli flags:\n\n>  + ``--setup-plan``: performs normal collection and reports\n>    the potential setup and teardown and does not execute any fixtures and tests;\n>  + ``--setup-only``: performs normal collection, executes setup and teardown of\n>    fixtures and reports them;\n>  + ``--setup-show``: performs normal test execution and additionally shows\n>    setup and teardown of fixtures;\n>  + ``--keep-duplicates``: py.test now ignores duplicated paths given in the command\n>    line. To retain the previous behavior where the same test could be run multiple\n>    times by specifying it in the command-line multiple times, pass the ``--keep-duplicates``\n>    argument (`1609`_);\n\n>  Thanks `d6e`_, `kvas-it`_, `sallner`_, `ioggstream`_ and `omarkohl`_ for the PRs.\n\n>* New CLI flag ``--override-ini``/``-o``: overrides values from the ini file.\n>  For example: ``&quot;-o xfail_strict=True&quot;``&#39;.\n>  Thanks `blueyed`_ and `fengxx`_ for the PR.\n\n>* New hooks:\n\n>  + ``pytest_fixture_setup(fixturedef, request)``: executes fixture setup;\n>  + ``pytest_fixture_post_finalizer(fixturedef)``: called after the fixture&#39;s\n>    finalizer and has access to the fixture&#39;s result cache.\n\n>  Thanks `d6e`_, `sallner`_.\n\n>* Issue warnings for asserts whose test is a tuple literal. Such asserts will\n>  never fail because tuples are always truthy and are usually a mistake\n>  (see `1562`_). Thanks `kvas-it`_, for the PR.\n\n>* Allow passing a custom debugger class (e.g. ``--pdbcls=IPython.core.debugger:Pdb``).\n>  Thanks to `anntzer`_ for the PR.\n\n\n>**Changes**\n\n>* Plugins now benefit from assertion rewriting.  Thanks\n>  `sober7`_, `nicoddemus`_ and `flub`_ for the PR.\n\n>* Change ``report.outcome`` for ``xpassed`` tests to ``&quot;passed&quot;`` in non-strict\n>  mode and ``&quot;failed&quot;`` in strict mode. Thanks to `hackebrot`_ for the PR\n>  (`1795`_) and `gprasad84`_ for report (`1546`_).\n\n>* Tests marked with ``xfail(strict=False)`` (the default) now appear in\n>  JUnitXML reports as passing tests instead of skipped.\n>  Thanks to `hackebrot`_ for the PR (`1795`_).\n\n>* Highlight path of the file location in the error report to make it easier to copy/paste.\n>  Thanks `suzaku`_ for the PR (`1778`_).\n\n>* Fixtures marked with ``pytest.fixture`` can now use ``yield`` statements exactly like\n>  those marked with the ``pytest.yield_fixture`` decorator. This change renders\n>  ``pytest.yield_fixture`` deprecated and makes ``pytest.fixture`` with ``yield`` statements\n>  the preferred way to write teardown code (`1461`_).\n>  Thanks `csaftoiu`_ for bringing this to attention and `nicoddemus`_ for the PR.\n\n>* Explicitly passed parametrize ids do not get escaped to ascii (`1351`_).\n>  Thanks `ceridwen`_ for the PR.\n\n>* Fixtures are now sorted in the error message displayed when an unknown\n>  fixture is declared in a test function.\n>  Thanks `nicoddemus`_ for the PR.\n\n>* ``pytest_terminal_summary`` hook now receives the ``exitstatus``\n>  of the test session as argument. Thanks `blueyed`_ for the PR (`1809`_).\n\n>* Parametrize ids can accept ``None`` as specific test id, in which case the\n>  automatically generated id for that argument will be used.\n>  Thanks `palaviv`_ for the complete PR (`1468`_).\n\n>* The parameter to xunit-style setup/teardown methods (``setup_method``,\n>  ``setup_module``, etc.) is now optional and may be omitted.\n>  Thanks `okken`_ for bringing this to attention and `nicoddemus`_ for the PR.\n\n>* Improved automatic id generation selection in case of duplicate ids in\n>  parametrize.\n>  Thanks `palaviv`_ for the complete PR (`1474`_).\n\n>* Now pytest warnings summary is shown up by default. Added a new flag\n>  ``--disable-pytest-warnings`` to explicitly disable the warnings summary (`1668`_).\n\n>* Make ImportError during collection more explicit by reminding\n>  the user to check the name of the test module/package(s) (`1426`_).\n>  Thanks `omarkohl`_ for the complete PR (`1520`_).\n\n>* Add ``build/`` and ``dist/`` to the default ``--norecursedirs`` list. Thanks\n>  `mikofski`_ for the report and `tomviner`_ for the PR (`1544`_).\n\n>* ``pytest.raises`` in the context manager form accepts a custom\n>  ``message`` to raise when no exception occurred.\n>  Thanks `palaviv`_ for the complete PR (`1616`_).\n\n>* ``conftest.py`` files now benefit from assertion rewriting; previously it\n>  was only available for test modules. Thanks `flub`_, `sober7`_ and\n>  `nicoddemus`_ for the PR (`1619`_).\n\n>* Text documents without any doctests no longer appear as &quot;skipped&quot;.\n>  Thanks `graingert`_ for reporting and providing a full PR (`1580`_).\n\n>* Ensure that a module within a namespace package can be found when it\n>  is specified on the command line together with the ``--pyargs``\n>  option.  Thanks to `taschini`_ for the PR (`1597`_).\n\n>* Always include full assertion explanation during assertion rewriting. The previous behaviour was hiding\n>  sub-expressions that happened to be ``False``, assuming this was redundant information.\n>  Thanks `bagerard`_ for reporting (`1503`_). Thanks to `davehunt`_ and\n>  `tomviner`_ for the PR.\n\n>* ``OptionGroup.addoption()`` now checks if option names were already\n>  added before, to make it easier to track down issues like `1618`_.\n>  Before, you only got exceptions later from ``argparse`` library,\n>  giving no clue about the actual reason for double-added options.\n\n>* ``yield``-based tests are considered deprecated and will be removed in pytest-4.0.\n>  Thanks `nicoddemus`_ for the PR.\n\n>* ``[pytest]`` sections in ``setup.cfg`` files should now be named ``[tool:pytest]``\n>  to avoid conflicts with other distutils commands (see `567`_). ``[pytest]`` sections in\n>  ``pytest.ini`` or ``tox.ini`` files are supported and unchanged.\n>  Thanks `nicoddemus`_ for the PR.\n\n>* Using ``pytest_funcarg__`` prefix to declare fixtures is considered deprecated and will be\n>  removed in pytest-4.0 (`1684`_).\n>  Thanks `nicoddemus`_ for the PR.\n\n>* Passing a command-line string to ``pytest.main()`` is considered deprecated and scheduled\n>  for removal in pytest-4.0. It is recommended to pass a list of arguments instead (`1723`_).\n\n>* Rename ``getfuncargvalue`` to ``getfixturevalue``. ``getfuncargvalue`` is\n>  still present but is now considered deprecated. Thanks to `RedBeardCode`_ and `tomviner`_\n>  for the PR (`1626`_).\n\n>* ``optparse`` type usage now triggers DeprecationWarnings (`1740`_).\n\n\n>* ``optparse`` backward compatibility supports float/complex types (`457`_).\n\n>* Refined logic for determining the ``rootdir``, considering only valid\n>  paths which fixes a number of issues: `1594`_, `1435`_ and `1471`_.\n>  Updated the documentation according to current behavior. Thanks to\n>  `blueyed`_, `davehunt`_ and `matthiasha`_ for the PR.\n\n>* Always include full assertion explanation. The previous behaviour was hiding\n>  sub-expressions that happened to be False, assuming this was redundant information.\n>  Thanks `bagerard`_ for reporting (`1503`_). Thanks to `davehunt`_ and\n>  `tomviner`_ for PR.\n\n>* Better message in case of not using parametrized variable (see `1539`_).\n>  Thanks to `tramwaj29`_ for the PR.\n\n>* Updated docstrings with a more uniform style.\n\n>* Add stderr write for ``pytest.exit(msg)`` during startup. Previously the message was never shown.\n>  Thanks `BeyondEvil`_ for reporting `1210`_. Thanks to `JonathonSonesen`_ and\n>  `tomviner`_ for the PR.\n\n>* No longer display the incorrect test deselection reason (`1372`_).\n>  Thanks `ronnypfannschmidt`_ for the PR.\n\n>* The ``--resultlog`` command line option has been deprecated: it is little used\n>  and there are more modern and better alternatives (see `830`_).\n>  Thanks `nicoddemus`_ for the PR.\n\n>* Improve error message with fixture lookup errors: add an &#39;E&#39; to the first\n>  line and &#39;&gt;&#39; to the rest. Fixes `717`_. Thanks `blueyed`_ for reporting and\n>  a PR, `eolo999`_ for the initial PR and `tomviner`_ for his guidance during\n>  EuroPython2016 sprint.\n\n\n>**Bug Fixes**\n\n>* Parametrize now correctly handles duplicated test ids.\n\n>* Fix internal error issue when the ``method`` argument is missing for\n>  ``teardown_method()`` (`1605`_).\n\n>* Fix exception visualization in case the current working directory (CWD) gets\n>  deleted during testing (`1235`_). Thanks `bukzor`_ for reporting. PR by\n>  `marscher`_.\n\n>* Improve test output for logical expression with brackets (`925`_).\n>  Thanks `DRMacIver`_ for reporting and `RedBeardCode`_ for the PR.\n\n>* Create correct diff for strings ending with newlines (`1553`_).\n>  Thanks `Vogtinator`_ for reporting and `RedBeardCode`_ and\n>  `tomviner`_ for the PR.\n\n>* ``ConftestImportFailure`` now shows the traceback making it easier to\n>  identify bugs in ``conftest.py`` files (`1516`_). Thanks `txomon`_ for\n>  the PR.\n\n>* Text documents without any doctests no longer appear as &quot;skipped&quot;.\n>  Thanks `graingert`_ for reporting and providing a full PR (`1580`_).\n\n>* Fixed collection of classes with custom ``__new__`` method.\n>  Fixes `1579`_. Thanks to `Stranger6667`_ for the PR.\n\n>* Fixed scope overriding inside metafunc.parametrize (`634`_).\n>  Thanks to `Stranger6667`_ for the PR.\n\n>* Fixed the total tests tally in junit xml output (`1798`_).\n>  Thanks to `cryporchild`_ for the PR.\n\n>* Fixed off-by-one error with lines from ``request.node.warn``.\n>  Thanks to `blueyed`_ for the PR.\n\n\n>.. _1210: https://github.com/pytest-dev/pytest/issues/1210\n>.. _1235: https://github.com/pytest-dev/pytest/issues/1235\n>.. _1351: https://github.com/pytest-dev/pytest/issues/1351\n>.. _1372: https://github.com/pytest-dev/pytest/issues/1372\n>.. _1421: https://github.com/pytest-dev/pytest/issues/1421\n>.. _1426: https://github.com/pytest-dev/pytest/issues/1426\n>.. _1428: https://github.com/pytest-dev/pytest/pull/1428\n>.. _1435: https://github.com/pytest-dev/pytest/issues/1435\n>.. _1441: https://github.com/pytest-dev/pytest/pull/1441\n>.. _1444: https://github.com/pytest-dev/pytest/pull/1444\n>.. _1454: https://github.com/pytest-dev/pytest/pull/1454\n>.. _1461: https://github.com/pytest-dev/pytest/pull/1461\n>.. _1468: https://github.com/pytest-dev/pytest/pull/1468\n>.. _1471: https://github.com/pytest-dev/pytest/issues/1471\n>.. _1474: https://github.com/pytest-dev/pytest/pull/1474\n>.. _1479: https://github.com/pytest-dev/pytest/issues/1479\n>.. _1502: https://github.com/pytest-dev/pytest/pull/1502\n>.. _1503: https://github.com/pytest-dev/pytest/issues/1503\n>.. _1516: https://github.com/pytest-dev/pytest/pull/1516\n>.. _1519: https://github.com/pytest-dev/pytest/pull/1519\n>.. _1520: https://github.com/pytest-dev/pytest/pull/1520\n>.. _1526: https://github.com/pytest-dev/pytest/pull/1526\n>.. _1539: https://github.com/pytest-dev/pytest/issues/1539\n>.. _1544: https://github.com/pytest-dev/pytest/issues/1544\n>.. _1546: https://github.com/pytest-dev/pytest/issues/1546\n>.. _1553: https://github.com/pytest-dev/pytest/issues/1553\n>.. _1562: https://github.com/pytest-dev/pytest/issues/1562\n>.. _1579: https://github.com/pytest-dev/pytest/issues/1579\n>.. _1580: https://github.com/pytest-dev/pytest/pull/1580\n>.. _1594: https://github.com/pytest-dev/pytest/issues/1594\n>.. _1597: https://github.com/pytest-dev/pytest/pull/1597\n>.. _1605: https://github.com/pytest-dev/pytest/issues/1605\n>.. _1616: https://github.com/pytest-dev/pytest/pull/1616\n>.. _1618: https://github.com/pytest-dev/pytest/issues/1618\n>.. _1619: https://github.com/pytest-dev/pytest/issues/1619\n>.. _1626: https://github.com/pytest-dev/pytest/pull/1626\n>.. _1627: https://github.com/pytest-dev/pytest/pull/1627\n>.. _1628: https://github.com/pytest-dev/pytest/pull/1628\n>.. _1629: https://github.com/pytest-dev/pytest/issues/1629\n>.. _1632: https://github.com/pytest-dev/pytest/issues/1632\n>.. _1633: https://github.com/pytest-dev/pytest/pull/1633\n>.. _1664: https://github.com/pytest-dev/pytest/pull/1664\n>.. _1668: https://github.com/pytest-dev/pytest/issues/1668\n>.. _1684: https://github.com/pytest-dev/pytest/pull/1684\n>.. _1723: https://github.com/pytest-dev/pytest/pull/1723\n>.. _1740: https://github.com/pytest-dev/pytest/issues/1740\n>.. _1749: https://github.com/pytest-dev/pytest/issues/1749\n>.. _1778: https://github.com/pytest-dev/pytest/pull/1778\n>.. _1795: https://github.com/pytest-dev/pytest/pull/1795\n>.. _1798: https://github.com/pytest-dev/pytest/pull/1798\n>.. _1809: https://github.com/pytest-dev/pytest/pull/1809\n>.. _372: https://github.com/pytest-dev/pytest/issues/372\n>.. _457: https://github.com/pytest-dev/pytest/issues/457\n>.. _460: https://github.com/pytest-dev/pytest/pull/460\n>.. _567: https://github.com/pytest-dev/pytest/pull/567\n>.. _607: https://github.com/pytest-dev/pytest/issues/607\n>.. _634: https://github.com/pytest-dev/pytest/issues/634\n>.. _717: https://github.com/pytest-dev/pytest/issues/717\n>.. _830: https://github.com/pytest-dev/pytest/issues/830\n>.. _925: https://github.com/pytest-dev/pytest/issues/925\n\n\n>.. _anntzer: https://github.com/anntzer\n>.. _bagerard: https://github.com/bagerard\n>.. _BeyondEvil: https://github.com/BeyondEvil\n>.. _blueyed: https://github.com/blueyed\n>.. _ceridwen: https://github.com/ceridwen\n>.. _cryporchild: https://github.com/cryporchild\n>.. _csaftoiu: https://github.com/csaftoiu\n>.. _d6e: https://github.com/d6e\n>.. _davehunt: https://github.com/davehunt\n>.. _DRMacIver: https://github.com/DRMacIver\n>.. _eolo999: https://github.com/eolo999\n>.. _fengxx: https://github.com/fengxx\n>.. _flub: https://github.com/flub\n>.. _gprasad84: https://github.com/gprasad84\n>.. _graingert: https://github.com/graingert\n>.. _hartym: https://github.com/hartym\n>.. _JonathonSonesen: https://github.com/JonathonSonesen\n>.. _kalekundert: https://github.com/kalekundert\n>.. _kvas-it: https://github.com/kvas-it\n>.. _marscher: https://github.com/marscher\n>.. _mikofski: https://github.com/mikofski\n>.. _milliams: https://github.com/milliams\n>.. _nikratio: https://github.com/nikratio\n>.. _novas0x2a: https://github.com/novas0x2a\n>.. _obestwalter: https://github.com/obestwalter\n>.. _okken: https://github.com/okken\n>.. _olegpidsadnyi: https://github.com/olegpidsadnyi\n>.. _omarkohl: https://github.com/omarkohl\n>.. _palaviv: https://github.com/palaviv\n>.. _RedBeardCode: https://github.com/RedBeardCode\n>.. _sallner: https://github.com/sallner\n>.. _sober7: https://github.com/sober7\n>.. _Stranger6667: https://github.com/Stranger6667\n>.. _suzaku: https://github.com/suzaku\n>.. _tareqalayan: https://github.com/tareqalayan\n>.. _taschini: https://github.com/taschini\n>.. _tramwaj29: https://github.com/tramwaj29\n>.. _txomon: https://github.com/txomon\n>.. _Vogtinator: https://github.com/Vogtinator\n>.. _matthiasha: https://github.com/matthiasha\n\n\n\n\n\n\n\n\n*Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.*\n\nHappy merging! 🤖\n"},"comment":{"url":"https://api.github.com/repos/audreyr/cookiecutter-pypackage/issues/comments/286571484","html_url":"https://github.com/audreyr/cookiecutter-pypackage/pull/293#issuecomment-286571484","issue_url":"https://api.github.com/repos/audreyr/cookiecutter-pypackage/issues/293","id":286571484,"user":{"login":"pyup-bot","id":16239342,"avatar_url":"https://avatars3.githubusercontent.com/u/16239342?v=3","gravatar_id":"","url":"https://api.github.com/users/pyup-bot","html_url":"https://github.com/pyup-bot","followers_url":"https://api.github.com/users/pyup-bot/followers","following_url":"https://api.github.com/users/pyup-bot/following{/other_user}","gists_url":"https://api.github.com/users/pyup-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/pyup-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyup-bot/subscriptions","organizations_url":"https://api.github.com/users/pyup-bot/orgs","repos_url":"https://api.github.com/users/pyup-bot/repos","events_url":"https://api.github.com/users/pyup-bot/events{/privacy}","received_events_url":"https://api.github.com/users/pyup-bot/received_events","type":"User","site_admin":false},"created_at":"2017-03-14T21:47:48Z","updated_at":"2017-03-14T21:47:48Z","body":"Closing this in favor of #307"}}
{"actor":{"display_login":"pyup-bot"}}