{"action":"created","issue":{"url":"https://api.github.com/repos/dhosterman/scorekeeper/issues/113","repository_url":"https://api.github.com/repos/dhosterman/scorekeeper","labels_url":"https://api.github.com/repos/dhosterman/scorekeeper/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/dhosterman/scorekeeper/issues/113/comments","events_url":"https://api.github.com/repos/dhosterman/scorekeeper/issues/113/events","html_url":"https://github.com/dhosterman/scorekeeper/pull/113","id":329523597,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyNzU4OTE5","number":113,"title":"Update pytest to 3.6.1","user":{"login":"pyup-bot","id":16239342,"node_id":"MDQ6VXNlcjE2MjM5MzQy","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-06-05T16:02:07Z","updated_at":"2018-06-20T15:13:42Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/dhosterman/scorekeeper/pulls/113","html_url":"https://github.com/dhosterman/scorekeeper/pull/113","diff_url":"https://github.com/dhosterman/scorekeeper/pull/113.diff","patch_url":"https://github.com/dhosterman/scorekeeper/pull/113.patch"},"body":"\nThis PR updates [pytest](https://pypi.org/project/pytest) from **3.0.3** to **3.6.1**.\n\n\n\n<details>\n  <summary>Changelog</summary>\n  \n  \n   ### 3.6.0\n   ```\n   =========================\n\nFeatures\n--------\n\n- Revamp the internals of the ``pytest.mark`` implementation with correct per\n  node handling which fixes a number of long standing bugs caused by the old\n  design. This introduces new ``Node.iter_markers(name)`` and\n  ``Node.get_closest_mark(name)`` APIs. Users are **strongly encouraged** to\n  read the `reasons for the revamp in the docs\n  &lt;https://docs.pytest.org/en/latest/mark.htmlmarker-revamp-and-iteration&gt;`_,\n  or jump over to details about `updating existing code to use the new APIs\n  &lt;https://docs.pytest.org/en/latest/mark.htmlupdating-code&gt;`_. (`3317\n  &lt;https://github.com/pytest-dev/pytest/issues/3317&gt;`_)\n\n- Now when ``pytest.fixture`` is applied more than once to the same function a\n  ``ValueError`` is raised. This buggy behavior would cause surprising problems\n  and if was working for a test suite it was mostly by accident. (`2334\n  &lt;https://github.com/pytest-dev/pytest/issues/2334&gt;`_)\n\n- Support for Python 3.7&#39;s builtin ``breakpoint()`` method, see `Using the\n  builtin breakpoint function\n  &lt;https://docs.pytest.org/en/latest/usage.htmlbreakpoint-builtin&gt;`_ for\n  details. (`3180 &lt;https://github.com/pytest-dev/pytest/issues/3180&gt;`_)\n\n- ``monkeypatch`` now supports a ``context()`` function which acts as a context\n  manager which undoes all patching done within the ``with`` block. (`3290\n  &lt;https://github.com/pytest-dev/pytest/issues/3290&gt;`_)\n\n- The ``--pdb`` option now causes KeyboardInterrupt to enter the debugger,\n  instead of stopping the test session. On python 2.7, hitting CTRL+C again\n  exits the debugger. On python 3.2 and higher, use CTRL+D. (`3299\n  &lt;https://github.com/pytest-dev/pytest/issues/3299&gt;`_)\n\n- pytest not longer changes the log level of the root logger when the\n  ``log-level`` parameter has greater numeric value than that of the level of\n  the root logger, which makes it play better with custom logging configuration\n  in user code. (`3307 &lt;https://github.com/pytest-dev/pytest/issues/3307&gt;`_)\n\n\nBug Fixes\n---------\n\n- A rare race-condition which might result in corrupted ``.pyc`` files on\n  Windows has been hopefully solved. (`3008\n  &lt;https://github.com/pytest-dev/pytest/issues/3008&gt;`_)\n\n- Also use iter_marker for discovering the marks applying for marker\n  expressions from the cli to avoid the bad data from the legacy mark storage.\n  (`3441 &lt;https://github.com/pytest-dev/pytest/issues/3441&gt;`_)\n\n- When showing diffs of failed assertions where the contents contain only\n  whitespace, escape them using ``repr()`` first to make it easy to spot the\n  differences. (`3443 &lt;https://github.com/pytest-dev/pytest/issues/3443&gt;`_)\n\n\nImproved Documentation\n----------------------\n\n- Change documentation copyright year to a range which auto-updates itself each\n  time it is published. (`3303\n  &lt;https://github.com/pytest-dev/pytest/issues/3303&gt;`_)\n\n\nTrivial/Internal Changes\n------------------------\n\n- ``pytest`` now depends on the `python-atomicwrites\n  &lt;https://github.com/untitaker/python-atomicwrites&gt;`_ library. (`3008\n  &lt;https://github.com/pytest-dev/pytest/issues/3008&gt;`_)\n\n- Update all pypi.python.org URLs to pypi.org. (`3431\n  &lt;https://github.com/pytest-dev/pytest/issues/3431&gt;`_)\n\n- Detect `pytest_` prefixed hooks using the internal plugin manager since\n  ``pluggy`` is deprecating the ``implprefix`` argument to ``PluginManager``.\n  (`3487 &lt;https://github.com/pytest-dev/pytest/issues/3487&gt;`_)\n\n- Import ``Mapping`` and ``Sequence`` from ``_pytest.compat`` instead of\n  directly from ``collections`` in ``python_api.py::approx``. Add ``Mapping``\n  to ``_pytest.compat``, import it from ``collections`` on python 2, but from\n  ``collections.abc`` on Python 3 to avoid a ``DeprecationWarning`` on Python\n  3.7 or newer. (`3497 &lt;https://github.com/pytest-dev/pytest/issues/3497&gt;`_)\n   ```\n   \n  \n  \n   ### 3.5.1\n   ```\n   =========================\n\n\nBug Fixes\n---------\n\n- Reset ``sys.last_type``, ``sys.last_value`` and ``sys.last_traceback`` before\n  each test executes. Those attributes are added by pytest during the test run\n  to aid debugging, but were never reset so they would create a leaking\n  reference to the last failing test&#39;s frame which in turn could never be\n  reclaimed by the garbage collector. (`2798\n  &lt;https://github.com/pytest-dev/pytest/issues/2798&gt;`_)\n\n- ``pytest.raises`` now raises ``TypeError`` when receiving an unknown keyword\n  argument. (`3348 &lt;https://github.com/pytest-dev/pytest/issues/3348&gt;`_)\n\n- ``pytest.raises`` now works with exception classes that look like iterables.\n  (`3372 &lt;https://github.com/pytest-dev/pytest/issues/3372&gt;`_)\n\n\nImproved Documentation\n----------------------\n\n- Fix typo in ``caplog`` fixture documentation, which incorrectly identified\n  certain attributes as methods. (`3406\n  &lt;https://github.com/pytest-dev/pytest/issues/3406&gt;`_)\n\n\nTrivial/Internal Changes\n------------------------\n\n- Added a more indicative error message when parametrizing a function whose\n  argument takes a default value. (`3221\n  &lt;https://github.com/pytest-dev/pytest/issues/3221&gt;`_)\n\n- Remove internal ``_pytest.terminal.flatten`` function in favor of\n  ``more_itertools.collapse``. (`3330\n  &lt;https://github.com/pytest-dev/pytest/issues/3330&gt;`_)\n\n- Import some modules from ``collections.abc`` instead of ``collections`` as\n  the former modules trigger ``DeprecationWarning`` in Python 3.7. (`3339\n  &lt;https://github.com/pytest-dev/pytest/issues/3339&gt;`_)\n\n- record_property is no longer experimental, removing the warnings was\n  forgotten. (`3360 &lt;https://github.com/pytest-dev/pytest/issues/3360&gt;`_)\n\n- Mention in documentation and CLI help that fixtures with leading ``_`` are\n  printed by ``pytest --fixtures`` only if the ``-v`` option is added. (`3398\n  &lt;https://github.com/pytest-dev/pytest/issues/3398&gt;`_)\n   ```\n   \n  \n  \n   ### 3.5.0\n   ```\n   =========================\n\nDeprecations and Removals\n-------------------------\n\n- ``record_xml_property`` fixture is now deprecated in favor of the more\n  generic ``record_property``. (`2770\n  &lt;https://github.com/pytest-dev/pytest/issues/2770&gt;`_)\n\n- Defining ``pytest_plugins`` is now deprecated in non-top-level conftest.py\n  files, because they &quot;leak&quot; to the entire directory tree. (`3084\n  &lt;https://github.com/pytest-dev/pytest/issues/3084&gt;`_)\n\n\nFeatures\n--------\n\n- New ``--show-capture`` command-line option that allows to specify how to\n  display captured output when tests fail: ``no``, ``stdout``, ``stderr``,\n  ``log`` or ``all`` (the default). (`1478\n  &lt;https://github.com/pytest-dev/pytest/issues/1478&gt;`_)\n\n- New ``--rootdir`` command-line option to override the rules for discovering\n  the root directory. See `customize\n  &lt;https://docs.pytest.org/en/latest/customize.html&gt;`_ in the documentation for\n  details. (`1642 &lt;https://github.com/pytest-dev/pytest/issues/1642&gt;`_)\n\n- Fixtures are now instantiated based on their scopes, with higher-scoped\n  fixtures (such as ``session``) being instantiated first than lower-scoped\n  fixtures (such as ``function``). The relative order of fixtures of the same\n  scope is kept unchanged, based in their declaration order and their\n  dependencies. (`2405 &lt;https://github.com/pytest-dev/pytest/issues/2405&gt;`_)\n\n- ``record_xml_property`` renamed to ``record_property`` and is now compatible\n  with xdist, markers and any reporter. ``record_xml_property`` name is now\n  deprecated. (`2770 &lt;https://github.com/pytest-dev/pytest/issues/2770&gt;`_)\n\n- New ``--nf``, ``--new-first`` options: run new tests first followed by the\n  rest of the tests, in both cases tests are also sorted by the file modified\n  time, with more recent files coming first. (`3034\n  &lt;https://github.com/pytest-dev/pytest/issues/3034&gt;`_)\n\n- New ``--last-failed-no-failures`` command-line option that allows to specify\n  the behavior of the cache plugin&#39;s --last-failed`` feature when no tests\n  failed in the last run (or no cache was found): ``none`` or ``all`` (the\n  default). (`3139 &lt;https://github.com/pytest-dev/pytest/issues/3139&gt;`_)\n\n- New ``--doctest-continue-on-failure`` command-line option to enable doctests\n  to show multiple failures for each snippet, instead of stopping at the first\n  failure. (`3149 &lt;https://github.com/pytest-dev/pytest/issues/3149&gt;`_)\n\n- Captured log messages are added to the ``&lt;system-out&gt;`` tag in the generated\n  junit xml file if the ``junit_logging`` ini option is set to ``system-out``.\n  If the value of this ini option is ``system-err``, the logs are written to\n  ``&lt;system-err&gt;``. The default value for ``junit_logging`` is ``no``, meaning\n  captured logs are not written to the output file. (`3156\n  &lt;https://github.com/pytest-dev/pytest/issues/3156&gt;`_)\n\n- Allow the logging plugin to handle ``pytest_runtest_logstart`` and\n  ``pytest_runtest_logfinish`` hooks when live logs are enabled. (`3189\n  &lt;https://github.com/pytest-dev/pytest/issues/3189&gt;`_)\n\n- Passing `--log-cli-level` in the command-line now automatically activates\n  live logging. (`3190 &lt;https://github.com/pytest-dev/pytest/issues/3190&gt;`_)\n\n- Add command line option ``--deselect`` to allow deselection of individual\n  tests at collection time. (`3198\n  &lt;https://github.com/pytest-dev/pytest/issues/3198&gt;`_)\n\n- Captured logs are printed before entering pdb. (`3204\n  &lt;https://github.com/pytest-dev/pytest/issues/3204&gt;`_)\n\n- Deselected item count is now shown before tests are run, e.g. ``collected X\n  items / Y deselected``. (`3213\n  &lt;https://github.com/pytest-dev/pytest/issues/3213&gt;`_)\n\n- The builtin module ``platform`` is now available for use in expressions in\n  ``pytest.mark``. (`3236\n  &lt;https://github.com/pytest-dev/pytest/issues/3236&gt;`_)\n\n- The *short test summary info* section now is displayed after tracebacks and\n  warnings in the terminal. (`3255\n  &lt;https://github.com/pytest-dev/pytest/issues/3255&gt;`_)\n\n- New ``--verbosity`` flag to set verbosity level explicitly. (`3296\n  &lt;https://github.com/pytest-dev/pytest/issues/3296&gt;`_)\n\n- ``pytest.approx`` now accepts comparing a numpy array with a scalar. (`3312\n  &lt;https://github.com/pytest-dev/pytest/issues/3312&gt;`_)\n\n\nBug Fixes\n---------\n\n- Suppress ``IOError`` when closing the temporary file used for capturing\n  streams in Python 2.7. (`2370\n  &lt;https://github.com/pytest-dev/pytest/issues/2370&gt;`_)\n\n- Fixed ``clear()`` method on ``caplog`` fixture which cleared ``records``, but\n  not the ``text`` property. (`3297\n  &lt;https://github.com/pytest-dev/pytest/issues/3297&gt;`_)\n\n- During test collection, when stdin is not allowed to be read, the\n  ``DontReadFromStdin`` object still allow itself to be iterable and resolved\n  to an iterator without crashing. (`3314\n  &lt;https://github.com/pytest-dev/pytest/issues/3314&gt;`_)\n\n\nImproved Documentation\n----------------------\n\n- Added a `reference &lt;https://docs.pytest.org/en/latest/reference.html&gt;`_ page\n  to the docs. (`1713 &lt;https://github.com/pytest-dev/pytest/issues/1713&gt;`_)\n\n\nTrivial/Internal Changes\n------------------------\n\n- Change minimum requirement of ``attrs`` to ``17.4.0``. (`3228\n  &lt;https://github.com/pytest-dev/pytest/issues/3228&gt;`_)\n\n- Renamed example directories so all tests pass when ran from the base\n  directory. (`3245 &lt;https://github.com/pytest-dev/pytest/issues/3245&gt;`_)\n\n- Internal ``mark.py`` module has been turned into a package. (`3250\n  &lt;https://github.com/pytest-dev/pytest/issues/3250&gt;`_)\n\n- ``pytest`` now depends on the `more-itertools\n  &lt;https://github.com/erikrose/more-itertools&gt;`_ package. (`3265\n  &lt;https://github.com/pytest-dev/pytest/issues/3265&gt;`_)\n\n- Added warning when ``[pytest]`` section is used in a ``.cfg`` file passed\n  with ``-c`` (`3268 &lt;https://github.com/pytest-dev/pytest/issues/3268&gt;`_)\n\n- ``nodeids`` can now be passed explicitly to ``FSCollector`` and ``Node``\n  constructors. (`3291 &lt;https://github.com/pytest-dev/pytest/issues/3291&gt;`_)\n\n- Internal refactoring of ``FormattedExcinfo`` to use ``attrs`` facilities and\n  remove old support code for legacy Python versions. (`3292\n  &lt;https://github.com/pytest-dev/pytest/issues/3292&gt;`_)\n\n- Refactoring to unify how verbosity is handled internally. (`3296\n  &lt;https://github.com/pytest-dev/pytest/issues/3296&gt;`_)\n\n- Internal refactoring to better integrate with argparse. (`3304\n  &lt;https://github.com/pytest-dev/pytest/issues/3304&gt;`_)\n\n- Fix a python example when calling a fixture in doc/en/usage.rst (`3308\n  &lt;https://github.com/pytest-dev/pytest/issues/3308&gt;`_)\n   ```\n   \n  \n  \n   ### 3.4.2\n   ```\n   =========================\n\nBug Fixes\n---------\n\n- Removed progress information when capture option is ``no``. (`3203\n  &lt;https://github.com/pytest-dev/pytest/issues/3203&gt;`_)\n\n- Refactor check of bindir from ``exists`` to ``isdir``. (`3241\n  &lt;https://github.com/pytest-dev/pytest/issues/3241&gt;`_)\n\n- Fix ``TypeError`` issue when using ``approx`` with a ``Decimal`` value.\n  (`3247 &lt;https://github.com/pytest-dev/pytest/issues/3247&gt;`_)\n\n- Fix reference cycle generated when using the ``request`` fixture. (`3249\n  &lt;https://github.com/pytest-dev/pytest/issues/3249&gt;`_)\n\n- ``[tool:pytest]`` sections in ``*.cfg`` files passed by the ``-c`` option are\n  now properly recognized. (`3260\n  &lt;https://github.com/pytest-dev/pytest/issues/3260&gt;`_)\n\n\nImproved Documentation\n----------------------\n\n- Add logging plugin to plugins list. (`3209\n  &lt;https://github.com/pytest-dev/pytest/issues/3209&gt;`_)\n\n\nTrivial/Internal Changes\n------------------------\n\n- Fix minor typo in fixture.rst (`3259\n  &lt;https://github.com/pytest-dev/pytest/issues/3259&gt;`_)\n   ```\n   \n  \n  \n   ### 3.4.1\n   ```\n   =========================\n\nBug 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\nImproved 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\nTrivial/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\nDeprecations 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\nFeatures\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\nBug 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\nImproved 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\nTrivial/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\nBug 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\nImproved 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\nTrivial/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\nBug 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\nImproved 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\nTrivial/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\nDeprecations 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\nFeatures\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\nBug 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\nTrivial/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\nBug 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\nBug 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\nImproved 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\nBug 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\nImproved 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\nTrivial/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\nBug 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\nImproved 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\nTrivial/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\nBug 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\nImproved 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\nDeprecations 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\nFeatures\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\nBug 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\nImproved 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\nTrivial/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\nBug 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\nImproved 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\nTrivial/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\nBug 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\nImproved 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\nBug 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\nImproved Documentation\n----------------------\n\n- Addition of towncrier for changelog management. (2390)\n   ```\n   \n  \n  \n   ### 3.1.0\n   ```\n   ==================\n\n\nNew 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\nChanges\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 comparison 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 an 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\nBug 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   ### 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 occurred 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/p"},"comment":{"url":"https://api.github.com/repos/dhosterman/scorekeeper/issues/comments/398787834","html_url":"https://github.com/dhosterman/scorekeeper/pull/113#issuecomment-398787834","issue_url":"https://api.github.com/repos/dhosterman/scorekeeper/issues/113","id":398787834,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODc4NzgzNA==","user":{"login":"pyup-bot","id":16239342,"node_id":"MDQ6VXNlcjE2MjM5MzQy","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-06-20T15:13:42Z","updated_at":"2018-06-20T15:13:42Z","author_association":"COLLABORATOR","body":"Closing this in favor of #114"}}
{"actor":{"display_login":"pyup-bot"}}