{"action":"created","issue":{"url":"https://api.github.com/repos/gasparka/pyha_demo_project/issues/26","repository_url":"https://api.github.com/repos/gasparka/pyha_demo_project","labels_url":"https://api.github.com/repos/gasparka/pyha_demo_project/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/gasparka/pyha_demo_project/issues/26/comments","events_url":"https://api.github.com/repos/gasparka/pyha_demo_project/issues/26/events","html_url":"https://github.com/gasparka/pyha_demo_project/pull/26","id":317462087,"number":26,"title":"Update pytest to 3.5.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-04-25T02:53:47Z","updated_at":"2018-05-23T15:57:42Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/gasparka/pyha_demo_project/pulls/26","html_url":"https://github.com/gasparka/pyha_demo_project/pull/26","diff_url":"https://github.com/gasparka/pyha_demo_project/pull/26.diff","patch_url":"https://github.com/gasparka/pyha_demo_project/pull/26.patch"},"body":"\nThis PR updates [pytest](https://pypi.org/project/pytest) from **3.3.2** to **3.5.1**.\n\n\n\n<details>\n  <summary>Changelog</summary>\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</details>\n\n\n \n\n<details>\n  <summary>Links</summary>\n  \n  - PyPI: https://pypi.org/project/pytest\n  - Changelog: https://pyup.io/changelogs/pytest/\n  - Repo: https://github.com/pytest-dev/pytest/issues\n  - Homepage: http://pytest.org\n</details>\n\n"},"comment":{"url":"https://api.github.com/repos/gasparka/pyha_demo_project/issues/comments/391400873","html_url":"https://github.com/gasparka/pyha_demo_project/pull/26#issuecomment-391400873","issue_url":"https://api.github.com/repos/gasparka/pyha_demo_project/issues/26","id":391400873,"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-05-23T15:57:42Z","updated_at":"2018-05-23T15:57:42Z","author_association":"CONTRIBUTOR","body":"Closing this in favor of #31"}}
{"actor":{"display_login":"pyup-bot"}}