{"action":"created","issue":{"url":"https://api.github.com/repos/jkahn/islex/issues/110","repository_url":"https://api.github.com/repos/jkahn/islex","labels_url":"https://api.github.com/repos/jkahn/islex/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/jkahn/islex/issues/110/comments","events_url":"https://api.github.com/repos/jkahn/islex/issues/110/events","html_url":"https://github.com/jkahn/islex/pull/110","id":298834494,"number":110,"title":"Update pytest to 3.4.1","user":{"login":"pyup-bot","id":16239342,"avatar_url":"https://avatars0.githubusercontent.com/u/16239342?v=4","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":"2018-02-21T03:59:33Z","updated_at":"2018-03-06T05:55:33Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/jkahn/islex/pulls/110","html_url":"https://github.com/jkahn/islex/pull/110","diff_url":"https://github.com/jkahn/islex/pull/110.diff","patch_url":"https://github.com/jkahn/islex/pull/110.patch"},"body":"\nThere's a new version of [pytest](https://pypi.python.org/pypi/pytest) available.\nYou are currently using **3.0.3**. I have updated it to **3.4.1**\n\n\n\nThese links might come in handy:  <a href=\"https://pypi.python.org/pypi/pytest\">PyPI</a> | <a href=\"https://pyup.io/changelogs/pytest/\">Changelog</a> | <a href=\"https://github.com/pytest-dev/pytest/issues\">Repo</a> | <a href=\"http://pytest.org\">Homepage</a> \n\n\n\n### Changelog\n> \n>### 3.4.1\n\n>=========================\n\n>Bug Fixes\n>---------\n\n>- Move import of ``doctest.UnexpectedException`` to top-level to avoid possible\n>  errors when using ``--pdb``. (`1810\n>  &lt;https://github.com/pytest-dev/pytest/issues/1810&gt;`_)\n\n>- Added printing of captured stdout/stderr before entering pdb, and improved a\n>  test which was giving false negatives about output capturing. (`3052\n>  &lt;https://github.com/pytest-dev/pytest/issues/3052&gt;`_)\n\n>- Fix ordering of tests using parametrized fixtures which can lead to fixtures\n>  being created more than necessary. (`3161\n>  &lt;https://github.com/pytest-dev/pytest/issues/3161&gt;`_)\n\n>- Fix bug where logging happening at hooks outside of &quot;test run&quot; hooks would\n>  cause an internal error. (`3184\n>  &lt;https://github.com/pytest-dev/pytest/issues/3184&gt;`_)\n\n>- Detect arguments injected by ``unittest.mock.patch`` decorator correctly when\n>  pypi ``mock.patch`` is installed and imported. (`3206\n>  &lt;https://github.com/pytest-dev/pytest/issues/3206&gt;`_)\n\n>- Errors shown when a ``pytest.raises()`` with ``match=`` fails are now cleaner\n>  on what happened: When no exception was raised, the &quot;matching &#39;...&#39;&quot; part got\n>  removed as it falsely implies that an exception was raised but it didn&#39;t\n>  match. When a wrong exception was raised, it&#39;s now thrown (like\n>  ``pytest.raised()`` without ``match=`` would) instead of complaining about\n>  the unmatched text. (`3222\n>  &lt;https://github.com/pytest-dev/pytest/issues/3222&gt;`_)\n\n>- Fixed output capture handling in doctests on macOS. (`985\n>  &lt;https://github.com/pytest-dev/pytest/issues/985&gt;`_)\n\n\n>Improved Documentation\n>----------------------\n\n>- Add Sphinx parameter docs for ``match`` and ``message`` args to\n>  ``pytest.raises``. (`3202\n>  &lt;https://github.com/pytest-dev/pytest/issues/3202&gt;`_)\n\n\n>Trivial/Internal Changes\n>------------------------\n\n>- pytest has changed the publication procedure and is now being published to\n>  PyPI directly from Travis. (`3060\n>  &lt;https://github.com/pytest-dev/pytest/issues/3060&gt;`_)\n\n>- Rename ``ParameterSet._for_parameterize()`` to ``_for_parametrize()`` in\n>  order to comply with the naming convention. (`3166\n>  &lt;https://github.com/pytest-dev/pytest/issues/3166&gt;`_)\n\n>- Skip failing pdb/doctest test on mac. (`985\n>  &lt;https://github.com/pytest-dev/pytest/issues/985&gt;`_)\n\n\n\n\n>### 3.4.0\n\n>=========================\n\n>Deprecations and Removals\n>-------------------------\n\n>- All pytest classes now subclass ``object`` for better Python 2/3 compatibility.\n>  This should not affect user code except in very rare edge cases. (`2147\n>  &lt;https://github.com/pytest-dev/pytest/issues/2147&gt;`_)\n\n\n>Features\n>--------\n\n>- Introduce ``empty_parameter_set_mark`` ini option to select which mark to\n>  apply when ``pytest.mark.parametrize`` is given an empty set of parameters.\n>  Valid options are ``skip`` (default) and ``xfail``. Note that it is planned\n>  to change the default to ``xfail`` in future releases as this is considered\n>  less error prone. (`2527\n>  &lt;https://github.com/pytest-dev/pytest/issues/2527&gt;`_)\n\n>- **Incompatible change**: after community feedback the `logging\n>  &lt;https://docs.pytest.org/en/latest/logging.html&gt;`_ functionality has\n>  undergone some changes. Please consult the `logging documentation\n>  &lt;https://docs.pytest.org/en/latest/logging.htmlincompatible-changes-in-pytest-3-4&gt;`_\n>  for details. (`3013 &lt;https://github.com/pytest-dev/pytest/issues/3013&gt;`_)\n\n>- Console output falls back to &quot;classic&quot; mode when capturing is disabled (``-s``),\n>  otherwise the output gets garbled to the point of being useless. (`3038\n>  &lt;https://github.com/pytest-dev/pytest/issues/3038&gt;`_)\n\n>- New `pytest_runtest_logfinish\n>  &lt;https://docs.pytest.org/en/latest/writing_plugins.html_pytest.hookspec.pytest_runtest_logfinish&gt;`_\n>  hook which is called when a test item has finished executing, analogous to\n>  `pytest_runtest_logstart\n>  &lt;https://docs.pytest.org/en/latest/writing_plugins.html_pytest.hookspec.pytest_runtest_start&gt;`_.\n>  (`3101 &lt;https://github.com/pytest-dev/pytest/issues/3101&gt;`_)\n\n>- Improve performance when collecting tests using many fixtures. (`3107\n>  &lt;https://github.com/pytest-dev/pytest/issues/3107&gt;`_)\n\n>- New ``caplog.get_records(when)`` method which provides access to the captured\n>  records for the ``&quot;setup&quot;``, ``&quot;call&quot;`` and ``&quot;teardown&quot;``\n>  testing stages. (`3117 &lt;https://github.com/pytest-dev/pytest/issues/3117&gt;`_)\n\n>- New fixture ``record_xml_attribute`` that allows modifying and inserting\n>  attributes on the ``&lt;testcase&gt;`` xml node in JUnit reports. (`3130\n>  &lt;https://github.com/pytest-dev/pytest/issues/3130&gt;`_)\n\n>- The default cache directory has been renamed from ``.cache`` to\n>  ``.pytest_cache`` after community feedback that the name ``.cache`` did not\n>  make it clear that it was used by pytest. (`3138\n>  &lt;https://github.com/pytest-dev/pytest/issues/3138&gt;`_)\n\n>- Colorize the levelname column in the live-log output. (`3142\n>  &lt;https://github.com/pytest-dev/pytest/issues/3142&gt;`_)\n\n\n>Bug Fixes\n>---------\n\n>- Fix hanging pexpect test on MacOS by using flush() instead of wait().\n>  (`2022 &lt;https://github.com/pytest-dev/pytest/issues/2022&gt;`_)\n\n>- Fix restoring Python state after in-process pytest runs with the\n>  ``pytester`` plugin; this may break tests using multiple inprocess\n>  pytest runs if later ones depend on earlier ones leaking global interpreter\n>  changes. (`3016 &lt;https://github.com/pytest-dev/pytest/issues/3016&gt;`_)\n\n>- Fix skipping plugin reporting hook when test aborted before plugin setup\n>  hook. (`3074 &lt;https://github.com/pytest-dev/pytest/issues/3074&gt;`_)\n\n>- Fix progress percentage reported when tests fail during teardown. (`3088\n>  &lt;https://github.com/pytest-dev/pytest/issues/3088&gt;`_)\n\n>- **Incompatible change**: ``-o/--override`` option no longer eats all the\n>  remaining options, which can lead to surprising behavior: for example,\n>  ``pytest -o foo=1 /path/to/test.py`` would fail because ``/path/to/test.py``\n>  would be considered as part of the ``-o`` command-line argument. One\n>  consequence of this is that now multiple configuration overrides need\n>  multiple ``-o`` flags: ``pytest -o foo=1 -o bar=2``. (`3103\n>  &lt;https://github.com/pytest-dev/pytest/issues/3103&gt;`_)\n\n\n>Improved Documentation\n>----------------------\n\n>- Document hooks (defined with ``historic=True``) which cannot be used with\n>  ``hookwrapper=True``. (`2423\n>  &lt;https://github.com/pytest-dev/pytest/issues/2423&gt;`_)\n\n>- Clarify that warning capturing doesn&#39;t change the warning filter by default.\n>  (`2457 &lt;https://github.com/pytest-dev/pytest/issues/2457&gt;`_)\n\n>- Clarify a possible confusion when using pytest_fixture_setup with fixture\n>  functions that return None. (`2698\n>  &lt;https://github.com/pytest-dev/pytest/issues/2698&gt;`_)\n\n>- Fix the wording of a sentence on doctest flags used in pytest. (`3076\n>  &lt;https://github.com/pytest-dev/pytest/issues/3076&gt;`_)\n\n>- Prefer ``https://*.readthedocs.io`` over ``http://*.rtfd.org`` for links in\n>  the documentation. (`3092\n>  &lt;https://github.com/pytest-dev/pytest/issues/3092&gt;`_)\n\n>- Improve readability (wording, grammar) of Getting Started guide (`3131\n>  &lt;https://github.com/pytest-dev/pytest/issues/3131&gt;`_)\n\n>- Added note that calling pytest.main multiple times from the same process is\n>  not recommended because of import caching. (`3143\n>  &lt;https://github.com/pytest-dev/pytest/issues/3143&gt;`_)\n\n\n>Trivial/Internal Changes\n>------------------------\n\n>- Show a simple and easy error when keyword expressions trigger a syntax error\n>  (for example, ``&quot;-k foo and import&quot;`` will show an error that you can not use\n>  the ``import`` keyword in expressions). (`2953\n>  &lt;https://github.com/pytest-dev/pytest/issues/2953&gt;`_)\n\n>- Change parametrized automatic test id generation to use the ``__name__``\n>  attribute of functions instead of the fallback argument name plus counter.\n>  (`2976 &lt;https://github.com/pytest-dev/pytest/issues/2976&gt;`_)\n\n>- Replace py.std with stdlib imports. (`3067\n>  &lt;https://github.com/pytest-dev/pytest/issues/3067&gt;`_)\n\n>- Corrected &#39;you&#39; to &#39;your&#39; in logging docs. (`3129\n>  &lt;https://github.com/pytest-dev/pytest/issues/3129&gt;`_)\n\n\n\n\n>### 3.3.2\n\n>=========================\n\n>Bug Fixes\n>---------\n\n>- pytester: ignore files used to obtain current user metadata in the fd leak\n>  detector. (`2784 &lt;https://github.com/pytest-dev/pytest/issues/2784&gt;`_)\n\n>- Fix **memory leak** where objects returned by fixtures were never destructed\n>  by the garbage collector. (`2981\n>  &lt;https://github.com/pytest-dev/pytest/issues/2981&gt;`_)\n\n>- Fix conversion of pyargs to filename to not convert symlinks on Python 2. (`2985\n>  &lt;https://github.com/pytest-dev/pytest/issues/2985&gt;`_)\n\n>- ``PYTEST_DONT_REWRITE`` is now checked for plugins too rather than only for\n>  test modules. (`2995 &lt;https://github.com/pytest-dev/pytest/issues/2995&gt;`_)\n\n\n>Improved Documentation\n>----------------------\n\n>- Add clarifying note about behavior of multiple parametrized arguments (`3001\n>  &lt;https://github.com/pytest-dev/pytest/issues/3001&gt;`_)\n\n\n>Trivial/Internal Changes\n>------------------------\n\n>- Code cleanup. (`3015 &lt;https://github.com/pytest-dev/pytest/issues/3015&gt;`_,\n>  `3021 &lt;https://github.com/pytest-dev/pytest/issues/3021&gt;`_)\n\n>- Clean up code by replacing imports and references of `_ast` to `ast`. (`3018\n>  &lt;https://github.com/pytest-dev/pytest/issues/3018&gt;`_)\n\n\n\n\n>### 3.3.1\n\n>=========================\n\n>Bug Fixes\n>---------\n\n>- Fix issue about ``-p no:&lt;plugin&gt;`` having no effect. (`2920\n>  &lt;https://github.com/pytest-dev/pytest/issues/2920&gt;`_)\n\n>- Fix regression with warnings that contained non-strings in their arguments in\n>  Python 2. (`2956 &lt;https://github.com/pytest-dev/pytest/issues/2956&gt;`_)\n\n>- Always escape null bytes when setting ``PYTEST_CURRENT_TEST``. (`2957\n>  &lt;https://github.com/pytest-dev/pytest/issues/2957&gt;`_)\n\n>- Fix ``ZeroDivisionError`` when using the ``testmon`` plugin when no tests\n>  were actually collected. (`2971\n>  &lt;https://github.com/pytest-dev/pytest/issues/2971&gt;`_)\n\n>- Bring back ``TerminalReporter.writer`` as an alias to\n>  ``TerminalReporter._tw``. This alias was removed by accident in the ``3.3.0``\n>  release. (`2984 &lt;https://github.com/pytest-dev/pytest/issues/2984&gt;`_)\n\n>- The ``pytest-capturelog`` plugin is now also blacklisted, avoiding errors when\n>  running pytest with it still installed. (`3004\n>  &lt;https://github.com/pytest-dev/pytest/issues/3004&gt;`_)\n\n\n>Improved Documentation\n>----------------------\n\n>- Fix broken link to plugin ``pytest-localserver``. (`2963\n>  &lt;https://github.com/pytest-dev/pytest/issues/2963&gt;`_)\n\n\n>Trivial/Internal Changes\n>------------------------\n\n>- Update github &quot;bugs&quot; link in ``CONTRIBUTING.rst`` (`2949\n>  &lt;https://github.com/pytest-dev/pytest/issues/2949&gt;`_)\n\n\n\n\n>### 3.3.0\n\n>=========================\n\n>Deprecations and Removals\n>-------------------------\n\n>- Pytest no longer supports Python **2.6** and **3.3**. Those Python versions\n>  are EOL for some time now and incur maintenance and compatibility costs on\n>  the pytest core team, and following up with the rest of the community we\n>  decided that they will no longer be supported starting on this version. Users\n>  which still require those versions should pin pytest to ``&lt;3.3``. (`2812\n>  &lt;https://github.com/pytest-dev/pytest/issues/2812&gt;`_)\n\n>- Remove internal ``_preloadplugins()`` function. This removal is part of the\n>  ``pytest_namespace()`` hook deprecation. (`2636\n>  &lt;https://github.com/pytest-dev/pytest/issues/2636&gt;`_)\n\n>- Internally change ``CallSpec2`` to have a list of marks instead of a broken\n>  mapping of keywords. This removes the keywords attribute of the internal\n>  ``CallSpec2`` class. (`2672\n>  &lt;https://github.com/pytest-dev/pytest/issues/2672&gt;`_)\n\n>- Remove ParameterSet.deprecated_arg_dict - its not a public api and the lack\n>  of the underscore was a naming error. (`2675\n>  &lt;https://github.com/pytest-dev/pytest/issues/2675&gt;`_)\n\n>- Remove the internal multi-typed attribute ``Node._evalskip`` and replace it\n>  with the boolean ``Node._skipped_by_mark``. (`2767\n>  &lt;https://github.com/pytest-dev/pytest/issues/2767&gt;`_)\n\n>- The ``params`` list passed to ``pytest.fixture`` is now for\n>  all effects considered immutable and frozen at the moment of the ``pytest.fixture``\n>  call. Previously the list could be changed before the first invocation of the fixture\n>  allowing for a form of dynamic parametrization (for example, updated from command-line options),\n>  but this was an unwanted implementation detail which complicated the internals and prevented\n>  some internal cleanup. See issue `2959 &lt;https://github.com/pytest-dev/pytest/issues/2959&gt;`_\n>  for details and a recommended workaround.\n\n>Features\n>--------\n\n>- ``pytest_fixture_post_finalizer`` hook can now receive a ``request``\n>  argument. (`2124 &lt;https://github.com/pytest-dev/pytest/issues/2124&gt;`_)\n\n>- Replace the old introspection code in compat.py that determines the available\n>  arguments of fixtures with inspect.signature on Python 3 and\n>  funcsigs.signature on Python 2. This should respect ``__signature__``\n>  declarations on functions. (`2267\n>  &lt;https://github.com/pytest-dev/pytest/issues/2267&gt;`_)\n\n>- Report tests with global ``pytestmark`` variable only once. (`2549\n>  &lt;https://github.com/pytest-dev/pytest/issues/2549&gt;`_)\n\n>- Now pytest displays the total progress percentage while running tests. The\n>  previous output style can be set by configuring the ``console_output_style``\n>  setting to ``classic``. (`2657 &lt;https://github.com/pytest-dev/pytest/issues/2657&gt;`_)\n\n>- Match ``warns`` signature to ``raises`` by adding ``match`` keyword. (`2708\n>  &lt;https://github.com/pytest-dev/pytest/issues/2708&gt;`_)\n\n>- Pytest now captures and displays output from the standard `logging` module.\n>  The user can control the logging level to be captured by specifying options\n>  in ``pytest.ini``, the command line and also during individual tests using\n>  markers. Also, a ``caplog`` fixture is available that enables users to test\n>  the captured log during specific tests (similar to ``capsys`` for example).\n>  For more information, please see the `logging docs\n>  &lt;https://docs.pytest.org/en/latest/logging.html&gt;`_. This feature was\n>  introduced by merging the popular `pytest-catchlog\n>  &lt;https://pypi.org/project/pytest-catchlog/&gt;`_ plugin, thanks to `Thomas Hisch\n>  &lt;https://github.com/thisch&gt;`_. Be advised that during the merging the\n>  backward compatibility interface with the defunct ``pytest-capturelog`` has\n>  been dropped. (`2794 &lt;https://github.com/pytest-dev/pytest/issues/2794&gt;`_)\n\n>- Add ``allow_module_level`` kwarg to ``pytest.skip()``, enabling to skip the\n>  whole module. (`2808 &lt;https://github.com/pytest-dev/pytest/issues/2808&gt;`_)\n\n>- Allow setting ``file_or_dir``, ``-c``, and ``-o`` in PYTEST_ADDOPTS. (`2824\n>  &lt;https://github.com/pytest-dev/pytest/issues/2824&gt;`_)\n\n>- Return stdout/stderr capture results as a ``namedtuple``, so ``out`` and\n>  ``err`` can be accessed by attribute. (`2879\n>  &lt;https://github.com/pytest-dev/pytest/issues/2879&gt;`_)\n\n>- Add ``capfdbinary``, a version of ``capfd`` which returns bytes from\n>  ``readouterr()``. (`2923\n>  &lt;https://github.com/pytest-dev/pytest/issues/2923&gt;`_)\n\n>- Add ``capsysbinary`` a version of ``capsys`` which returns bytes from\n>  ``readouterr()``. (`2934\n>  &lt;https://github.com/pytest-dev/pytest/issues/2934&gt;`_)\n\n>- Implement feature to skip ``setup.py`` files when run with\n>  ``--doctest-modules``. (`502\n>  &lt;https://github.com/pytest-dev/pytest/issues/502&gt;`_)\n\n\n>Bug Fixes\n>---------\n\n>- Resume output capturing after ``capsys/capfd.disabled()`` context manager.\n>  (`1993 &lt;https://github.com/pytest-dev/pytest/issues/1993&gt;`_)\n\n>- ``pytest_fixture_setup`` and ``pytest_fixture_post_finalizer`` hooks are now\n>  called for all ``conftest.py`` files. (`2124\n>  &lt;https://github.com/pytest-dev/pytest/issues/2124&gt;`_)\n\n>- If an exception happens while loading a plugin, pytest no longer hides the\n>  original traceback. In Python 2 it will show the original traceback with a new\n>  message that explains in which plugin. In Python 3 it will show 2 canonized\n>  exceptions, the original exception while loading the plugin in addition to an\n>  exception that pytest throws about loading a plugin. (`2491\n>  &lt;https://github.com/pytest-dev/pytest/issues/2491&gt;`_)\n\n>- ``capsys`` and ``capfd`` can now be used by other fixtures. (`2709\n>  &lt;https://github.com/pytest-dev/pytest/issues/2709&gt;`_)\n\n>- Internal ``pytester`` plugin properly encodes ``bytes`` arguments to\n>  ``utf-8``. (`2738 &lt;https://github.com/pytest-dev/pytest/issues/2738&gt;`_)\n\n>- ``testdir`` now uses use the same method used by ``tmpdir`` to create its\n>  temporary directory. This changes the final structure of the ``testdir``\n>  directory slightly, but should not affect usage in normal scenarios and\n>  avoids a number of potential problems. (`2751\n>  &lt;https://github.com/pytest-dev/pytest/issues/2751&gt;`_)\n\n>- Pytest no longer complains about warnings with unicode messages being\n>  non-ascii compatible even for ascii-compatible messages. As a result of this,\n>  warnings with unicode messages are converted first to an ascii representation\n>  for safety. (`2809 &lt;https://github.com/pytest-dev/pytest/issues/2809&gt;`_)\n\n>- Change return value of pytest command when ``--maxfail`` is reached from\n>  ``2`` (interrupted) to ``1`` (failed). (`2845\n>  &lt;https://github.com/pytest-dev/pytest/issues/2845&gt;`_)\n\n>- Fix issue in assertion rewriting which could lead it to rewrite modules which\n>  should not be rewritten. (`2939\n>  &lt;https://github.com/pytest-dev/pytest/issues/2939&gt;`_)\n\n>- Handle marks without description in ``pytest.ini``. (`2942\n>  &lt;https://github.com/pytest-dev/pytest/issues/2942&gt;`_)\n\n\n>Trivial/Internal Changes\n>------------------------\n\n>- pytest now depends on `attrs &lt;https://pypi.org/project/attrs/&gt;`_ for internal\n>  structures to ease code maintainability. (`2641\n>  &lt;https://github.com/pytest-dev/pytest/issues/2641&gt;`_)\n\n>- Refactored internal Python 2/3 compatibility code to use ``six``. (`2642\n>  &lt;https://github.com/pytest-dev/pytest/issues/2642&gt;`_)\n\n>- Stop vendoring ``pluggy`` - we&#39;re missing out on its latest changes for not\n>  much benefit (`2719 &lt;https://github.com/pytest-dev/pytest/issues/2719&gt;`_)\n\n>- Internal refactor: simplify ascii string escaping by using the\n>  backslashreplace error handler in newer Python 3 versions. (`2734\n>  &lt;https://github.com/pytest-dev/pytest/issues/2734&gt;`_)\n\n>- Remove unnecessary mark evaluator in unittest plugin (`2767\n>  &lt;https://github.com/pytest-dev/pytest/issues/2767&gt;`_)\n\n>- Calls to ``Metafunc.addcall`` now emit a deprecation warning. This function\n>  is scheduled to be removed in ``pytest-4.0``. (`2876\n>  &lt;https://github.com/pytest-dev/pytest/issues/2876&gt;`_)\n\n>- Internal move of the parameterset extraction to a more maintainable place.\n>  (`2877 &lt;https://github.com/pytest-dev/pytest/issues/2877&gt;`_)\n\n>- Internal refactoring to simplify scope node lookup. (`2910\n>  &lt;https://github.com/pytest-dev/pytest/issues/2910&gt;`_)\n\n>- Configure ``pytest`` to prevent pip from installing pytest in unsupported\n>  Python versions. (`2922\n>  &lt;https://github.com/pytest-dev/pytest/issues/2922&gt;`_)\n\n\n\n\n>### 3.2.5\n\n>=========================\n\n>Bug Fixes\n>---------\n\n>- Remove ``py&lt;1.5`` restriction from ``pytest`` as this can cause version\n>  conflicts in some installations. (`2926\n>  &lt;https://github.com/pytest-dev/pytest/issues/2926&gt;`_)\n\n\n\n\n>### 3.2.4\n\n>=========================\n\n>Bug Fixes\n>---------\n\n>- Fix the bug where running with ``--pyargs`` will result in items with\n>  empty ``parent.nodeid`` if run from a different root directory. (`2775\n>  &lt;https://github.com/pytest-dev/pytest/issues/2775&gt;`_)\n\n>- Fix issue with ``pytest.parametrize`` if argnames was specified as keyword arguments.\n>  (`2819 &lt;https://github.com/pytest-dev/pytest/issues/2819&gt;`_)\n\n>- Strip whitespace from marker names when reading them from INI config. (`2856\n>  &lt;https://github.com/pytest-dev/pytest/issues/2856&gt;`_)\n\n>- Show full context of doctest source in the pytest output, if the line number of\n>  failed example in the docstring is &lt; 9. (`2882\n>  &lt;https://github.com/pytest-dev/pytest/issues/2882&gt;`_)\n\n>- Match fixture paths against actual path segments in order to avoid matching folders which share a prefix.\n>  (`2836 &lt;https://github.com/pytest-dev/pytest/issues/2836&gt;`_)\n\n>Improved Documentation\n>----------------------\n\n>- Introduce a dedicated section about conftest.py. (`1505\n>  &lt;https://github.com/pytest-dev/pytest/issues/1505&gt;`_)\n\n>- Explicitly mention ``xpass`` in the documentation of ``xfail``. (`1997\n>  &lt;https://github.com/pytest-dev/pytest/issues/1997&gt;`_)\n\n>- Append example for pytest.param in the example/parametrize document. (`2658\n>  &lt;https://github.com/pytest-dev/pytest/issues/2658&gt;`_)\n\n>- Clarify language of proposal for fixtures parameters (`2893\n>  &lt;https://github.com/pytest-dev/pytest/issues/2893&gt;`_)\n\n>- List python 3.6 in the documented supported versions in the getting started\n>  document. (`2903 &lt;https://github.com/pytest-dev/pytest/issues/2903&gt;`_)\n\n>- Clarify the documentation of available fixture scopes. (`538\n>  &lt;https://github.com/pytest-dev/pytest/issues/538&gt;`_)\n\n>- Add documentation about the ``python -m pytest`` invocation adding the\n>  current directory to sys.path. (`911\n>  &lt;https://github.com/pytest-dev/pytest/issues/911&gt;`_)\n\n\n\n\n>### 3.2.3\n\n>=========================\n\n>Bug Fixes\n>---------\n\n>- Fix crash in tab completion when no prefix is given. (`2748\n>  &lt;https://github.com/pytest-dev/pytest/issues/2748&gt;`_)\n\n>- The equality checking function (``__eq__``) of ``MarkDecorator`` returns\n>  ``False`` if one object is not an instance of ``MarkDecorator``. (`2758\n>  &lt;https://github.com/pytest-dev/pytest/issues/2758&gt;`_)\n\n>- When running ``pytest --fixtures-per-test``: don&#39;t crash if an item has no\n>  _fixtureinfo attribute (e.g. doctests) (`2788\n>  &lt;https://github.com/pytest-dev/pytest/issues/2788&gt;`_)\n\n\n>Improved Documentation\n>----------------------\n\n>- In help text of ``-k`` option, add example of using ``not`` to not select\n>  certain tests whose names match the provided expression. (`1442\n>  &lt;https://github.com/pytest-dev/pytest/issues/1442&gt;`_)\n\n>- Add note in ``parametrize.rst`` about calling ``metafunc.parametrize``\n>  multiple times. (`1548 &lt;https://github.com/pytest-dev/pytest/issues/1548&gt;`_)\n\n\n>Trivial/Internal Changes\n>------------------------\n\n>- Set ``xfail_strict=True`` in pytest&#39;s own test suite to catch expected\n>  failures as soon as they start to pass. (`2722\n>  &lt;https://github.com/pytest-dev/pytest/issues/2722&gt;`_)\n\n>- Fix typo in example of passing a callable to markers (in example/markers.rst)\n>  (`2765 &lt;https://github.com/pytest-dev/pytest/issues/2765&gt;`_)\n\n\n\n\n>### 3.2.2\n\n>=========================\n\n>Bug Fixes\n>---------\n\n>- Calling the deprecated `request.getfuncargvalue()` now shows the source of\n>  the call. (`2681 &lt;https://github.com/pytest-dev/pytest/issues/2681&gt;`_)\n\n>- Allow tests declared as ``staticmethod`` to use fixtures. (`2699\n>  &lt;https://github.com/pytest-dev/pytest/issues/2699&gt;`_)\n\n>- Fixed edge-case during collection: attributes which raised ``pytest.fail``\n>  when accessed would abort the entire collection. (`2707\n>  &lt;https://github.com/pytest-dev/pytest/issues/2707&gt;`_)\n\n>- Fix ``ReprFuncArgs`` with mixed unicode and UTF-8 args. (`2731\n>  &lt;https://github.com/pytest-dev/pytest/issues/2731&gt;`_)\n\n\n>Improved Documentation\n>----------------------\n\n>- In examples on working with custom markers, add examples demonstrating the\n>  usage of ``pytest.mark.MARKER_NAME.with_args`` in comparison with\n>  ``pytest.mark.MARKER_NAME.__call__`` (`2604\n>  &lt;https://github.com/pytest-dev/pytest/issues/2604&gt;`_)\n\n>- In one of the simple examples, use `pytest_collection_modifyitems()` to skip\n>  tests based on a command-line option, allowing its sharing while preventing a\n>  user error when acessing `pytest.config` before the argument parsing. (`2653\n>  &lt;https://github.com/pytest-dev/pytest/issues/2653&gt;`_)\n\n\n>Trivial/Internal Changes\n>------------------------\n\n>- Fixed minor error in &#39;Good Practices/Manual Integration&#39; code snippet.\n>  (`2691 &lt;https://github.com/pytest-dev/pytest/issues/2691&gt;`_)\n\n>- Fixed typo in goodpractices.rst. (`2721\n>  &lt;https://github.com/pytest-dev/pytest/issues/2721&gt;`_)\n\n>- Improve user guidance regarding ``--resultlog`` deprecation. (`2739\n>  &lt;https://github.com/pytest-dev/pytest/issues/2739&gt;`_)\n\n\n\n\n>### 3.2.1\n\n>=========================\n\n>Bug Fixes\n>---------\n\n>- Fixed small terminal glitch when collecting a single test item. (`2579\n>  &lt;https://github.com/pytest-dev/pytest/issues/2579&gt;`_)\n\n>- Correctly consider ``/`` as the file separator to automatically mark plugin\n>  files for rewrite on Windows. (`2591 &lt;https://github.com/pytest-\n>  dev/pytest/issues/2591&gt;`_)\n\n>- Properly escape test names when setting ``PYTEST_CURRENT_TEST`` environment\n>  variable. (`2644 &lt;https://github.com/pytest-dev/pytest/issues/2644&gt;`_)\n\n>- Fix error on Windows and Python 3.6+ when ``sys.stdout`` has been replaced\n>  with a stream-like object which does not implement the full ``io`` module\n>  buffer protocol. In particular this affects ``pytest-xdist`` users on the\n>  aforementioned platform. (`2666 &lt;https://github.com/pytest-\n>  dev/pytest/issues/2666&gt;`_)\n\n\n>Improved Documentation\n>----------------------\n\n>- Explicitly document which pytest features work with ``unittest``. (`2626\n>  &lt;https://github.com/pytest-dev/pytest/issues/2626&gt;`_)\n\n\n\n\n>### 3.2.0\n\n>=========================\n\n>Deprecations and Removals\n>-------------------------\n\n>- ``pytest.approx`` no longer supports ``&gt;``, ``&gt;=``, ``&lt;`` and ``&lt;=``\n>  operators to avoid surprising/inconsistent behavior. See `the approx docs\n>  &lt;https://docs.pytest.org/en/latest/builtin.htmlpytest.approx&gt;`_ for more\n>  information. (`2003 &lt;https://github.com/pytest-dev/pytest/issues/2003&gt;`_)\n\n>- All old-style specific behavior in current classes in the pytest&#39;s API is\n>  considered deprecated at this point and will be removed in a future release.\n>  This affects Python 2 users only and in rare situations. (`2147\n>  &lt;https://github.com/pytest-dev/pytest/issues/2147&gt;`_)\n\n>- A deprecation warning is now raised when using marks for parameters\n>  in ``pytest.mark.parametrize``. Use ``pytest.param`` to apply marks to\n>  parameters instead. (`2427 &lt;https://github.com/pytest-dev/pytest/issues/2427&gt;`_)\n\n\n>Features\n>--------\n\n>- Add support for numpy arrays (and dicts) to approx. (`1994\n>  &lt;https://github.com/pytest-dev/pytest/issues/1994&gt;`_)\n\n>- Now test function objects have a ``pytestmark`` attribute containing a list\n>  of marks applied directly to the test function, as opposed to marks inherited\n>  from parent classes or modules. (`2516 &lt;https://github.com/pytest-\n>  dev/pytest/issues/2516&gt;`_)\n\n>- Collection ignores local virtualenvs by default; `--collect-in-virtualenv`\n>  overrides this behavior. (`2518 &lt;https://github.com/pytest-\n>  dev/pytest/issues/2518&gt;`_)\n\n>- Allow class methods decorated as ``staticmethod`` to be candidates for\n>  collection as a test function. (Only for Python 2.7 and above. Python 2.6\n>  will still ignore static methods.) (`2528 &lt;https://github.com/pytest-\n>  dev/pytest/issues/2528&gt;`_)\n\n>- Introduce ``mark.with_args`` in order to allow passing functions/classes as\n>  sole argument to marks. (`2540 &lt;https://github.com/pytest-\n>  dev/pytest/issues/2540&gt;`_)\n\n>- New ``cache_dir`` ini option: sets the directory where the contents of the\n>  cache plugin are stored. Directory may be relative or absolute path: if relative path, then\n>  directory is created relative to ``rootdir``, otherwise it is used as is.\n>  Additionally path may contain environment variables which are expanded during\n>  runtime. (`2543 &lt;https://github.com/pytest-dev/pytest/issues/2543&gt;`_)\n\n>- Introduce the ``PYTEST_CURRENT_TEST`` environment variable that is set with\n>  the ``nodeid`` and stage (``setup``, ``call`` and ``teardown``) of the test\n>  being currently executed. See the `documentation\n>  &lt;https://docs.pytest.org/en/latest/example/simple.htmlpytest-current-test-\n>  environment-variable&gt;`_ for more info. (`2583 &lt;https://github.com/pytest-\n>  dev/pytest/issues/2583&gt;`_)\n\n>- Introduced ``pytest.mark.filterwarnings`` mark which allows overwriting the\n>  warnings filter on a per test, class or module level. See the `docs\n>  &lt;https://docs.pytest.org/en/latest/warnings.htmlpytest-mark-\n>  filterwarnings&gt;`_ for more information. (`2598 &lt;https://github.com/pytest-\n>  dev/pytest/issues/2598&gt;`_)\n\n>- ``--last-failed`` now remembers forever when a test has failed and only\n>  forgets it if it passes again. This makes it easy to fix a test suite by\n>  selectively running files and fixing tests incrementally. (`2621\n>  &lt;https://github.com/pytest-dev/pytest/issues/2621&gt;`_)\n\n>- New ``pytest_report_collectionfinish`` hook which allows plugins to add\n>  messages to the terminal reporting after collection has been finished\n>  successfully. (`2622 &lt;https://github.com/pytest-dev/pytest/issues/2622&gt;`_)\n\n>- Added support for `PEP-415&#39;s &lt;https://www.python.org/dev/peps/pep-0415/&gt;`_\n>  ``Exception.__suppress_context__``. Now if a ``raise exception from None`` is\n>  caught by pytest, pytest will no longer chain the context in the test report.\n>  The behavior now matches Python&#39;s traceback behavior. (`2631\n>  &lt;https://github.com/pytest-dev/pytest/issues/2631&gt;`_)\n\n>- Exceptions raised by ``pytest.fail``, ``pytest.skip`` and ``pytest.xfail``\n>  now subclass BaseException, making them harder to be caught unintentionally\n>  by normal code. (`580 &lt;https://github.com/pytest-dev/pytest/issues/580&gt;`_)\n\n\n>Bug Fixes\n>---------\n\n>- Set ``stdin`` to a closed ``PIPE`` in ``pytester.py.Testdir.popen()`` for\n>  avoid unwanted interactive ``pdb`` (`2023 &lt;https://github.com/pytest-\n>  dev/pytest/issues/2023&gt;`_)\n\n>- Add missing ``encoding`` attribute to ``sys.std*`` streams when using\n>  ``capsys`` capture mode. (`2375 &lt;https://github.com/pytest-\n>  dev/pytest/issues/2375&gt;`_)\n\n>- Fix terminal color changing to black on Windows if ``colorama`` is imported\n>  in a ``conftest.py`` file. (`2510 &lt;https://github.com/pytest-\n>  dev/pytest/issues/2510&gt;`_)\n\n>- Fix line number when reporting summary of skipped tests. (`2548\n>  &lt;https://github.com/pytest-dev/pytest/issues/2548&gt;`_)\n\n>- capture: ensure that EncodedFile.name is a string. (`2555\n>  &lt;https://github.com/pytest-dev/pytest/issues/2555&gt;`_)\n\n>- The options ``--fixtures`` and ``--fixtures-per-test`` will now keep\n>  indentation within docstrings. (`2574 &lt;https://github.com/pytest-\n>  dev/pytest/issues/2574&gt;`_)\n\n>- doctests line numbers are now reported correctly, fixing `pytest-sugar122\n>  &lt;https://github.com/Frozenball/pytest-sugar/issues/122&gt;`_. (`2610\n>  &lt;https://github.com/pytest-dev/pytest/issues/2610&gt;`_)\n\n>- Fix non-determinism in order of fixture collection. Adds new dependency\n>  (ordereddict) for Python 2.6. (`920 &lt;https://github.com/pytest-\n>  dev/pytest/issues/920&gt;`_)\n\n\n>Improved Documentation\n>----------------------\n\n>- Clarify ``pytest_configure`` hook call order. (`2539\n>  &lt;https://github.com/pytest-dev/pytest/issues/2539&gt;`_)\n\n>- Extend documentation for testing plugin code with the ``pytester`` plugin.\n>  (`971 &lt;https://github.com/pytest-dev/pytest/issues/971&gt;`_)\n\n\n>Trivial/Internal Changes\n>------------------------\n\n>- Update help message for ``--strict`` to make it clear it only deals with\n>  unregistered markers, not warnings. (`2444 &lt;https://github.com/pytest-\n>  dev/pytest/issues/2444&gt;`_)\n\n>- Internal code move: move code for pytest.approx/pytest.raises to own files in\n>  order to cut down the size of python.py (`2489 &lt;https://github.com/pytest-\n>  dev/pytest/issues/2489&gt;`_)\n\n>- Renamed the utility function ``_pytest.compat._escape_strings`` to\n>  ``_ascii_escaped`` to better communicate the function&#39;s purpose. (`2533\n>  &lt;https://github.com/pytest-dev/pytest/issues/2533&gt;`_)\n\n>- Improve error message for CollectError with skip/skipif. (`2546\n>  &lt;https://github.com/pytest-dev/pytest/issues/2546&gt;`_)\n\n>- Emit warning about ``yield`` tests being deprecated only once per generator.\n>  (`2562 &lt;https://github.com/pytest-dev/pytest/issues/2562&gt;`_)\n\n>- Ensure final collected line doesn&#39;t include artifacts of previous write.\n>  (`2571 &lt;https://github.com/pytest-dev/pytest/issues/2571&gt;`_)\n\n>- Fixed all flake8 errors and warnings. (`2581 &lt;https://github.com/pytest-\n>  dev/pytest/issues/2581&gt;`_)\n\n>- Added ``fix-lint`` tox environment to run automatic pep8 fixes on the code.\n>  (`2582 &lt;https://github.com/pytest-dev/pytest/issues/2582&gt;`_)\n\n>- Turn warnings into errors in pytest&#39;s own test suite in order to catch\n>  regressions due to deprecations more promptly. (`2588\n>  &lt;https://github.com/pytest-dev/pytest/issues/2588&gt;`_)\n\n>- Show multiple issue links in CHANGELOG entries. (`2620\n>  &lt;https://github.com/pytest-dev/pytest/issues/2620&gt;`_)\n\n\n\n\n>### 3.1.3\n\n>=========================\n\n>Bug Fixes\n>---------\n\n>- Fix decode error in Python 2 for doctests in docstrings. (`2434\n>  &lt;https://github.com/pytest-dev/pytest/issues/2434&gt;`_)\n\n>- Exceptions raised during teardown by finalizers are now suppressed until all\n>  finalizers are called, with the initial exception reraised. (`2440\n>  &lt;https://github.com/pytest-dev/pytest/issues/2440&gt;`_)\n\n>- Fix incorrect &quot;collected items&quot; report when specifying tests on the command-\n>  line. (`2464 &lt;https://github.com/pytest-dev/pytest/issues/2464&gt;`_)\n\n>- ``deprecated_call`` in context-manager form now captures deprecation warnings\n>  even if the same warning has already been raised. Also, ``deprecated_call``\n>  will always produce the same error message (previously it would produce\n>  different messages in context-manager vs. function-call mode). (`2469\n>  &lt;https://github.com/pytest-dev/pytest/issues/2469&gt;`_)\n\n>- Fix issue where paths collected by pytest could have triple leading ``/``\n>  characters. (`2475 &lt;https://github.com/pytest-dev/pytest/issues/2475&gt;`_)\n\n>- Fix internal error when trying to detect the start of a recursive traceback.\n>  (`2486 &lt;https://github.com/pytest-dev/pytest/issues/2486&gt;`_)\n\n\n>Improved Documentation\n>----------------------\n\n>- Explicitly state for which hooks the calls stop after the first non-None\n>  result. (`2493 &lt;https://github.com/pytest-dev/pytest/issues/2493&gt;`_)\n\n\n>Trivial/Internal Changes\n>------------------------\n\n>- Create invoke tasks for updating the vendored packages. (`2474\n>  &lt;https://github.com/pytest-dev/pytest/issues/2474&gt;`_)\n\n>- Update copyright dates in LICENSE, README.rst and in the documentation.\n>  (`2499 &lt;https://github.com/pytest-dev/pytest/issues/2499&gt;`_)\n\n\n\n\n>### 3.1.2\n\n>=========================\n\n>Bug Fixes\n>---------\n\n>- Required options added via ``pytest_addoption`` will no longer prevent using\n>  --help without passing them. (1999)\n\n>- Respect ``python_files`` in assertion rewriting. (2121)\n\n>- Fix recursion error detection when frames in the traceback contain objects\n>  that can&#39;t be compared (like ``numpy`` arrays). (2459)\n\n>- ``UnicodeWarning`` is issued from the internal pytest warnings plugin only\n>  when the message contains non-ascii unicode (Python 2 only). (2463)\n\n>- Added a workaround for Python 3.6 ``WindowsConsoleIO`` breaking due to Pytests&#39;s\n>  ``FDCapture``. Other code using console handles might still be affected by the\n>  very same issue and might require further workarounds/fixes, i.e. ``colorama``.\n>  (2467)\n\n\n>Improved Documentation\n>----------------------\n\n>- Fix internal API links to ``pluggy`` objects. (2331)\n\n>- Make it clear that ``pytest.xfail`` stops test execution at the calling point\n>  and improve overall flow of the ``skipping`` docs. (810)\n\n\n\n\n>### 3.1.1\n\n>=========================\n\n>Bug Fixes\n>---------\n\n>- pytest warning capture no longer overrides existing warning filters. The\n>  previous behaviour would override all filters and caused regressions in test\n>  suites which configure warning filters to match their needs. Note that as a\n>  side-effect of this is that ``DeprecationWarning`` and\n>  ``PendingDeprecationWarning`` are no longer shown by default. (2430)\n\n>- Fix issue with non-ascii contents in doctest text files. (2434)\n\n>- Fix encoding errors for unicode warnings in Python 2. (2436)\n\n>- ``pytest.deprecated_call`` now captures ``PendingDeprecationWarning`` in\n>  context manager form. (2441)\n\n\n>Improved Documentation\n>----------------------\n\n>- Addition of towncrier for changelog management. (2390)\n\n\n\n\n>### 3.1.0\n\n>==================\n\n\n>New Features\n>------------\n\n>* The ``pytest-warnings`` plugin has been integrated into the core and now ``pytest`` automatically\n>  captures and displays warnings at the end of the test session.\n\n>  .. warning::\n\n>    This feature may disrupt test suites which apply and treat warnings themselves, and can be\n>    disabled in your ``pytest.ini``:\n\n>    .. code-block:: ini\n\n>      [pytest]\n>      addopts = -p no:warnings\n\n>    See the `warnings documentation page &lt;https://docs.pytest.org/en/latest/warnings.html&gt;`_ for more\n>    information.\n\n>  Thanks `nicoddemus`_ for the PR.\n\n>* Added ``junit_suite_name`` ini option to specify root ``&lt;testsuite&gt;`` name for JUnit XML reports (`533`_).\n\n>* Added an ini option ``doctest_encoding`` to specify which encoding to use for doctest files.\n>  Thanks `wheerd`_ for the PR (`2101`_).\n\n>* ``pytest.warns`` now checks for subclass relationship rather than\n>  class equality. Thanks `lesteve`_ for the PR (`2166`_)\n\n>* ``pytest.raises`` now asserts that the error message matches a text or regex\n>  with the ``match`` keyword argument. Thanks `Kriechi`_ for the PR.\n\n>* ``pytest.param`` can be used to declare test parameter sets with marks and test ids.\n>  Thanks `RonnyPfannschmidt`_ for the PR.\n\n\n>Changes\n>-------\n\n>* remove all internal uses of pytest_namespace hooks,\n>  this is to prepare the removal of preloadconfig in pytest 4.0\n>  Thanks to `RonnyPfannschmidt`_ for the PR.\n\n>* pytest now warns when a callable ids raises in a parametrized test. Thanks `fogo`_ for the PR.\n\n>* It is now possible to skip test classes from being collected by setting a\n>  ``__test__`` attribute to ``False`` in the class body (`2007`_). Thanks\n>  to `syre`_ for the report and `lwm`_ for the PR.\n\n>* Change junitxml.py to produce reports that comply with Junitxml schema.\n>  If the same test fails with failure in call and then errors in teardown\n>  we split testcase element into two, one containing the error and the other\n>  the failure. (`2228`_) Thanks to `kkoukiou`_ for the PR.\n\n>* Testcase reports with a ``url`` attribute will now properly write this to junitxml.\n>  Thanks `fushi`_ for the PR (`1874`_).\n\n>* Remove common items from dict comparision output when verbosity=1. Also update\n>  the truncation message to make it clearer that pytest truncates all\n>  assertion messages if verbosity &lt; 2 (`1512`_).\n>  Thanks `mattduck`_ for the PR\n\n>* ``--pdbcls`` no longer implies ``--pdb``. This makes it possible to use\n>  ``addopts=--pdbcls=module.SomeClass`` on ``pytest.ini``. Thanks `davidszotten`_ for\n>  the PR (`1952`_).\n\n>* fix `2013`_: turn RecordedWarning into ``namedtuple``,\n>  to give it a comprehensible repr while preventing unwarranted modification.\n\n>* fix `2208`_: ensure a iteration limit for _pytest.compat.get_real_func.\n>  Thanks `RonnyPfannschmidt`_ for the report and PR.\n\n>* Hooks are now verified after collection is complete, rather than right after loading installed plugins. This\n>  makes it easy to write hooks for plugins which will be loaded during collection, for example using the\n>  ``pytest_plugins`` special variable (`1821`_).\n>  Thanks `nicoddemus`_ for the PR.\n\n>* Modify ``pytest_make_parametrize_id()`` hook to accept ``argname`` as an\n>  additional parameter.\n>  Thanks `unsignedint`_ for the PR.\n\n>* Add ``venv`` to the default ``norecursedirs`` setting.\n>  Thanks `The-Compiler`_ for the PR.\n\n>* ``PluginManager.import_plugin`` now accepts unicode plugin names in Python 2.\n>  Thanks `reutsharabani`_ for the PR.\n\n>* fix `2308`_: When using both ``--lf`` and ``--ff``, only the last failed tests are run.\n>  Thanks `ojii`_ for the PR.\n\n>* Replace minor/patch level version numbers in the documentation with placeholders.\n>  This significantly reduces change-noise as different contributors regnerate\n>  the documentation on different platforms.\n>  Thanks `RonnyPfannschmidt`_ for the PR.\n\n>* fix `2391`_: consider pytest_plugins on all plugin modules\n>  Thanks `RonnyPfannschmidt`_ for the PR.\n\n\n>Bug Fixes\n>---------\n\n>* Fix ``AttributeError`` on ``sys.stdout.buffer`` / ``sys.stderr.buffer``\n>  while using ``capsys`` fixture in python 3. (`1407`_).\n>  Thanks to `asottile`_.\n\n>* Change capture.py&#39;s ``DontReadFromInput`` class to throw ``io.UnsupportedOperation`` errors rather\n>  than ValueErrors in the ``fileno`` method (`2276`_).\n>  Thanks `metasyn`_ and `vlad-dragos`_ for the PR.\n\n>* Fix exception formatting while importing modules when the exception message\n>  contains non-ascii characters (`2336`_).\n>  Thanks `fabioz`_ for the report and `nicoddemus`_ for the PR.\n\n>* Added documentation related to issue (`1937`_)\n>  Thanks `skylarjhdownes`_ for the PR.\n\n>* Allow collecting files with any file extension as Python modules (`2369`_).\n>  Thanks `Kodiologist`_ for the PR.\n\n>* Show the correct error message when collect &quot;parametrize&quot; func with wrong args (`2383`_).\n>  Thanks `The-Compiler`_ for the report and `robin0371`_ for the PR.\n\n\n>.. _davidszotten: https://github.com/davidszotten\n>.. _fabioz: https://github.com/fabioz\n>.. _fogo: https://github.com/fogo\n>.. _fushi: https://github.com/fushi\n>.. _Kodiologist: https://github.com/Kodiologist\n>.. _Kriechi: https://github.com/Kriechi\n>.. _mandeep: https://github.com/mandeep\n>.. _mattduck: https://github.com/mattduck\n>.. _metasyn: https://github.com/metasyn\n>.. _MichalTHEDUDE: https://github.com/MichalTHEDUDE\n>.. _ojii: https://github.com/ojii\n>.. _reutsharabani: https://github.com/reutsharabani\n>.. _robin0371: https://github.com/robin0371\n>.. _skylarjhdownes: https://github.com/skylarjhdownes\n>.. _unsignedint: https://github.com/unsignedint\n>.. _wheerd: https://github.com/wheerd\n\n\n>.. _1407: https://github.com/pytest-dev/pytest/issues/1407\n>.. _1512: https://github.com/pytest-dev/pytest/issues/1512\n>.. _1821: https://github.com/pytest-dev/pytest/issues/1821\n>.. _1874: https://github.com/pytest-dev/pytest/pull/1874\n>.. _1937: https://github.com/pytest-dev/pytest/issues/1937\n>.. _1952: https://github.com/pytest-dev/pytest/pull/1952\n>.. _2007: https://github.com/pytest-dev/pytest/issues/2007\n>.. _2013: https://github.com/pytest-dev/pytest/issues/2013\n>.. _2101: https://github.com/pytest-dev/pytest/pull/2101\n>.. _2166: https://github.com/pytest-dev/pytest/pull/2166\n>.. _2208: https://github.com/pytest-dev/pytest/issues/2208\n>.. _2228: https://github.com/pytest-dev/pytest/issues/2228\n>.. _2276: https://github.com/pytest-dev/pytest/issues/2276\n>.. _2308: https://github.com/pytest-dev/pytest/issues/2308\n>.. _2336: https://github.com/pytest-dev/pytest/issues/2336\n>.. _2369: https://github.com/pytest-dev/pytest/issues/2369\n>.. _2383: https://github.com/pytest-dev/pytest/issues/2383\n>.. _2391: https://github.com/pytest-dev/pytest/issues/2391\n>.. _533: https://github.com/pytest-dev/pytest/issues/533\n\n\n\n\n\n>### 3.0.7\n\n>==================\n\n\n>* Fix issue in assertion rewriting breaking due to modules silently discarding\n>  other modules when importing fails\n>  Notably, importing the ``anydbm`` module is fixed. (`2248`_).\n>  Thanks `pfhayes`_ for the PR.\n\n>* junitxml: Fix problematic case where system-out tag occured twice per testcase\n>  element in the XML report. Thanks `kkoukiou`_ for the PR.\n\n>* Fix regression, pytest now skips unittest correctly if run with ``--pdb``\n>  (`2137`_). Thanks to `gst`_ for the report and `mbyt`_ for the PR.\n\n>* Ignore exceptions raised from descriptors (e.g. properties) during Python test collection (`2234`_).\n>  Thanks to `bluetech`_.\n\n>* ``--override-ini`` now correctly overrides some fundamental options like ``python_files`` (`2238`_).\n>  Thanks `sirex`_ for the report and `nicoddemus`_ for the PR.\n\n>* Replace ``raise StopIteration`` usages in the code by simple ``returns`` to finish generators, in accordance to `PEP-479`_ (`2160`_).\n>  Thanks `tgoodlet`_ for the report and `nicoddemus`_ for the PR.\n\n>* Fix internal errors when an unprintable ``AssertionError`` is raised inside a test.\n>  Thanks `omerhadari`_ for the PR.\n\n>* Skipping plugin now also works with test items generated by custom collectors (`2231`_).\n>  Thanks to `vidartf`_.\n\n>* Fix trailing whitespace in console output if no .ini file presented (`2281`_). Thanks `fbjorn`_ for the PR.\n\n>* Conditionless ``xfail`` markers no longer rely on the underlying test item\n>  being an instance of ``PyobjMixin``, and can therefore apply to tests not\n>  collected by the built-in python test collector. Thanks `barneygale`_ for the\n>  PR.\n\n\n>.. _pfhayes: https://github.com/pfhayes\n>.. _bluetech: https://github.com/bluetech\n>.. _gst: https://github.com/gst\n>.. _sirex: https://github.com/sirex\n>.. _vidartf: https://github.com/vidartf\n>.. _kkoukiou: https://github.com/KKoukiou\n>.. _omerhadari: https://github.com/omerhadari\n>.. _fbjorn: https://github.com/fbjorn\n\n>.. _2248: https://github.com/pytest-dev/pytest/issues/2248\n>.. _2137: https://github.com/pytest-dev/pytest/issues/2137\n>.. _2160: https://github.com/pytest-dev/pytest/issues/2160\n>.. _2231: https://github.com/pytest-dev/pytest/issues/2231\n>.. _2234: https://github.com/pytest-dev/pytest/issues/2234\n>.. _2238: https://github.com/pytest-dev/pytest/issues/2238\n>.. _2281: https://github.com/pytest-dev/pytest/issues/2281\n\n>.. _PEP-479: https://www.python.org/dev/peps/pep-0479/\n\n\n\n\n>### 3.0.6\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>* 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>.. _barneygale: https://github.com/barneygale\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>.. _syre: https://github.com/syre\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\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/jkahn/islex/issues/comments/370672311","html_url":"https://github.com/jkahn/islex/pull/110#issuecomment-370672311","issue_url":"https://api.github.com/repos/jkahn/islex/issues/110","id":370672311,"user":{"login":"pyup-bot","id":16239342,"avatar_url":"https://avatars0.githubusercontent.com/u/16239342?v=4","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":"2018-03-06T05:55:33Z","updated_at":"2018-03-06T05:55:33Z","author_association":"CONTRIBUTOR","body":"Closing this in favor of #112"}}
{"actor":{"display_login":"pyup-bot"}}