{"action":"created","issue":{"url":"https://api.github.com/repos/austinmcconnell/autolearn/issues/16","repository_url":"https://api.github.com/repos/austinmcconnell/autolearn","labels_url":"https://api.github.com/repos/austinmcconnell/autolearn/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/austinmcconnell/autolearn/issues/16/comments","events_url":"https://api.github.com/repos/austinmcconnell/autolearn/issues/16/events","html_url":"https://github.com/austinmcconnell/autolearn/pull/16","id":234809357,"number":16,"title":"Update pytest to 3.1.2","user":{"login":"pyup-bot","id":16239342,"avatar_url":"https://avatars3.githubusercontent.com/u/16239342?v=3","gravatar_id":"","url":"https://api.github.com/users/pyup-bot","html_url":"https://github.com/pyup-bot","followers_url":"https://api.github.com/users/pyup-bot/followers","following_url":"https://api.github.com/users/pyup-bot/following{/other_user}","gists_url":"https://api.github.com/users/pyup-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/pyup-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyup-bot/subscriptions","organizations_url":"https://api.github.com/users/pyup-bot/orgs","repos_url":"https://api.github.com/users/pyup-bot/repos","events_url":"https://api.github.com/users/pyup-bot/events{/privacy}","received_events_url":"https://api.github.com/users/pyup-bot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-09T12:17:15Z","updated_at":"2017-07-04T16:39:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/austinmcconnell/autolearn/pulls/16","html_url":"https://github.com/austinmcconnell/autolearn/pull/16","diff_url":"https://github.com/austinmcconnell/autolearn/pull/16.diff","patch_url":"https://github.com/austinmcconnell/autolearn/pull/16.patch"},"body":"\nThere's a new version of [pytest](https://pypi.python.org/pypi/pytest) available.\nYou are currently using **3.0.7**. I have updated it to **3.1.2**\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.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\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/austinmcconnell/autolearn/issues/comments/312916908","html_url":"https://github.com/austinmcconnell/autolearn/pull/16#issuecomment-312916908","issue_url":"https://api.github.com/repos/austinmcconnell/autolearn/issues/16","id":312916908,"user":{"login":"pyup-bot","id":16239342,"avatar_url":"https://avatars3.githubusercontent.com/u/16239342?v=3","gravatar_id":"","url":"https://api.github.com/users/pyup-bot","html_url":"https://github.com/pyup-bot","followers_url":"https://api.github.com/users/pyup-bot/followers","following_url":"https://api.github.com/users/pyup-bot/following{/other_user}","gists_url":"https://api.github.com/users/pyup-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/pyup-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyup-bot/subscriptions","organizations_url":"https://api.github.com/users/pyup-bot/orgs","repos_url":"https://api.github.com/users/pyup-bot/repos","events_url":"https://api.github.com/users/pyup-bot/events{/privacy}","received_events_url":"https://api.github.com/users/pyup-bot/received_events","type":"User","site_admin":false},"created_at":"2017-07-04T16:39:00Z","updated_at":"2017-07-04T16:39:00Z","body":"Closing this in favor of #18"}}
{"actor":{"display_login":"pyup-bot"}}