{"action":"closed","number":37,"pull_request":{"url":"https://api.github.com/repos/HunarTechie/gcd/pulls/37","id":211941472,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExOTQxNDcy","html_url":"https://github.com/HunarTechie/gcd/pull/37","diff_url":"https://github.com/HunarTechie/gcd/pull/37.diff","patch_url":"https://github.com/HunarTechie/gcd/pull/37.patch","issue_url":"https://api.github.com/repos/HunarTechie/gcd/issues/37","number":37,"state":"closed","locked":false,"title":"Update pytest to 3.7.4","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},"body":"\nThis PR updates [pytest](https://pypi.org/project/pytest) from **3.4.2** to **3.7.4**.\n\n\n\n<details>\n  <summary>Changelog</summary>\n  \n  \n   ### 3.7.4\n   ```\n   =========================\n\nBug Fixes\n---------\n\n- `3506 &lt;https://github.com/pytest-dev/pytest/issues/3506&gt;`_: Fix possible infinite recursion when writing ``.pyc`` files.\n\n\n- `3853 &lt;https://github.com/pytest-dev/pytest/issues/3853&gt;`_: Cache plugin now obeys the ``-q`` flag when ``--last-failed`` and ``--failed-first`` flags are used.\n\n\n- `3883 &lt;https://github.com/pytest-dev/pytest/issues/3883&gt;`_: Fix bad console output when using ``console_output_style=classic``.\n\n\n- `3888 &lt;https://github.com/pytest-dev/pytest/issues/3888&gt;`_: Fix macOS specific code using ``capturemanager`` plugin in doctests.\n\n\n\nImproved Documentation\n----------------------\n\n- `3902 &lt;https://github.com/pytest-dev/pytest/issues/3902&gt;`_: Fix pytest.org links\n   ```\n   \n  \n  \n   ### 3.7.3\n   ```\n   =========================\n\nBug Fixes\n---------\n\n- `3033 &lt;https://github.com/pytest-dev/pytest/issues/3033&gt;`_: Fixtures during teardown can again use ``capsys`` and ``capfd`` to inspect output captured during tests.\n\n\n- `3773 &lt;https://github.com/pytest-dev/pytest/issues/3773&gt;`_: Fix collection of tests from ``__init__.py`` files if they match the ``python_files`` configuration option.\n\n\n- `3796 &lt;https://github.com/pytest-dev/pytest/issues/3796&gt;`_: Fix issue where teardown of fixtures of consecutive sub-packages were executed once, at the end of the outer\n  package.\n\n\n- `3816 &lt;https://github.com/pytest-dev/pytest/issues/3816&gt;`_: Fix bug where ``--show-capture=no`` option would still show logs printed during fixture teardown.\n\n\n- `3819 &lt;https://github.com/pytest-dev/pytest/issues/3819&gt;`_: Fix ``stdout/stderr`` not getting captured when real-time cli logging is active.\n\n\n- `3843 &lt;https://github.com/pytest-dev/pytest/issues/3843&gt;`_: Fix collection error when specifying test functions directly in the command line using ``test.py::test`` syntax together with ``--doctest-modules``.\n\n\n- `3848 &lt;https://github.com/pytest-dev/pytest/issues/3848&gt;`_: Fix bugs where unicode arguments could not be passed to ``testdir.runpytest`` on Python 2.\n\n\n- `3854 &lt;https://github.com/pytest-dev/pytest/issues/3854&gt;`_: Fix double collection of tests within packages when the filename starts with a capital letter.\n\n\n\nImproved Documentation\n----------------------\n\n- `3824 &lt;https://github.com/pytest-dev/pytest/issues/3824&gt;`_: Added example for multiple glob pattern matches in ``python_files``.\n\n\n- `3833 &lt;https://github.com/pytest-dev/pytest/issues/3833&gt;`_: Added missing docs for ``pytester.Testdir``.\n\n\n- `3870 &lt;https://github.com/pytest-dev/pytest/issues/3870&gt;`_: Correct documentation for setuptools integration.\n\n\n\nTrivial/Internal Changes\n------------------------\n\n- `3826 &lt;https://github.com/pytest-dev/pytest/issues/3826&gt;`_: Replace broken type annotations with type comments.\n\n\n- `3845 &lt;https://github.com/pytest-dev/pytest/issues/3845&gt;`_: Remove a reference to issue `568 &lt;https://github.com/pytest-dev/pytest/issues/568&gt;`_ from the documentation, which has since been\n  fixed.\n   ```\n   \n  \n  \n   ### 3.7.2\n   ```\n   =========================\n\nBug Fixes\n---------\n\n- `3671 &lt;https://github.com/pytest-dev/pytest/issues/3671&gt;`_: Fix ``filterwarnings`` not being registered as a builtin mark.\n\n\n- `3768 &lt;https://github.com/pytest-dev/pytest/issues/3768&gt;`_, `3789 &lt;https://github.com/pytest-dev/pytest/issues/3789&gt;`_: Fix test collection from packages mixed with normal directories.\n\n\n- `3771 &lt;https://github.com/pytest-dev/pytest/issues/3771&gt;`_: Fix infinite recursion during collection if a ``pytest_ignore_collect`` hook returns ``False`` instead of ``None``.\n\n\n- `3774 &lt;https://github.com/pytest-dev/pytest/issues/3774&gt;`_: Fix bug where decorated fixtures would lose functionality (for example ``mock.patch``).\n\n\n- `3775 &lt;https://github.com/pytest-dev/pytest/issues/3775&gt;`_: Fix bug where importing modules or other objects with prefix ``pytest_`` prefix would raise a ``PluginValidationError``.\n\n\n- `3788 &lt;https://github.com/pytest-dev/pytest/issues/3788&gt;`_: Fix ``AttributeError`` during teardown of ``TestCase`` subclasses which raise an exception during ``__init__``.\n\n\n- `3804 &lt;https://github.com/pytest-dev/pytest/issues/3804&gt;`_: Fix traceback reporting for exceptions with ``__cause__`` cycles.\n\n\n\nImproved Documentation\n----------------------\n\n- `3746 &lt;https://github.com/pytest-dev/pytest/issues/3746&gt;`_: Add documentation for ``metafunc.config`` that had been mistakenly hidden.\n   ```\n   \n  \n  \n   ### 3.7.1\n   ```\n   =========================\n\nBug Fixes\n---------\n\n- `3473 &lt;https://github.com/pytest-dev/pytest/issues/3473&gt;`_: Raise immediately if ``approx()`` is given an expected value of a type it doesn&#39;t understand (e.g. strings, nested dicts, etc.).\n\n\n- `3712 &lt;https://github.com/pytest-dev/pytest/issues/3712&gt;`_: Correctly represent the dimensions of an numpy array when calling ``repr()`` on ``approx()``.\n\n- `3742 &lt;https://github.com/pytest-dev/pytest/issues/3742&gt;`_: Fix incompatibility with third party plugins during collection, which produced the error ``object has no attribute &#39;_collectfile&#39;``.\n\n- `3745 &lt;https://github.com/pytest-dev/pytest/issues/3745&gt;`_: Display the absolute path if ``cache_dir`` is not relative to the ``rootdir`` instead of failing.\n\n\n- `3747 &lt;https://github.com/pytest-dev/pytest/issues/3747&gt;`_: Fix compatibility problem with plugins and the warning code issued by fixture functions when they are called directly.\n\n\n- `3748 &lt;https://github.com/pytest-dev/pytest/issues/3748&gt;`_: Fix infinite recursion in ``pytest.approx`` with arrays in ``numpy&lt;1.13``.\n\n\n- `3757 &lt;https://github.com/pytest-dev/pytest/issues/3757&gt;`_: Pin pathlib2 to ``&gt;=2.2.0`` as we require ``__fspath__`` support.\n\n\n- `3763 &lt;https://github.com/pytest-dev/pytest/issues/3763&gt;`_: Fix ``TypeError`` when the assertion message is ``bytes`` in python 3.\n   ```\n   \n  \n  \n   ### 3.7.0\n   ```\n   =========================\n\nDeprecations and Removals\n-------------------------\n\n- `2639 &lt;https://github.com/pytest-dev/pytest/issues/2639&gt;`_: ``pytest_namespace`` has been deprecated.\n\n  See the documentation for ``pytest_namespace`` hook for suggestions on how to deal\n  with this in plugins which use this functionality.\n\n\n- `3661 &lt;https://github.com/pytest-dev/pytest/issues/3661&gt;`_: Calling a fixture function directly, as opposed to request them in a test function, now issues a ``RemovedInPytest4Warning``. It will be changed into an error in pytest ``4.0``.\n\n  This is a great source of confusion to new users, which will often call the fixture functions and request them from test functions interchangeably, which breaks the fixture resolution model.\n\n\n\nFeatures\n--------\n\n- `2283 &lt;https://github.com/pytest-dev/pytest/issues/2283&gt;`_: New ``package`` fixture scope: fixtures are finalized when the last test of a *package* finishes. This feature is considered **experimental**, so use it sparingly.\n\n\n- `3576 &lt;https://github.com/pytest-dev/pytest/issues/3576&gt;`_: ``Node.add_marker`` now supports an ``append=True/False`` parameter to determine whether the mark comes last (default) or first.\n\n\n- `3579 &lt;https://github.com/pytest-dev/pytest/issues/3579&gt;`_: Fixture ``caplog`` now has a ``messages`` property, providing convenient access to the format-interpolated log messages without the extra data provided by the formatter/handler.\n\n\n- `3610 &lt;https://github.com/pytest-dev/pytest/issues/3610&gt;`_: New ``--trace`` option to enter the debugger at the start of a test.\n\n\n- `3623 &lt;https://github.com/pytest-dev/pytest/issues/3623&gt;`_: Introduce ``pytester.copy_example`` as helper to do acceptance tests against examples from the project.\n\n\n\nBug Fixes\n---------\n\n- `2220 &lt;https://github.com/pytest-dev/pytest/issues/2220&gt;`_: Fix a bug where fixtures overridden by direct parameters (for example parametrization) were being instantiated even if they were not being used by a test.\n\n\n- `3695 &lt;https://github.com/pytest-dev/pytest/issues/3695&gt;`_: Fix ``ApproxNumpy`` initialisation argument mixup, ``abs`` and ``rel`` tolerances were flipped causing strange comparsion results.\n  Add tests to check ``abs`` and ``rel`` tolerances for ``np.array`` and test for expecting ``nan`` with ``np.array()``\n\n\n- `980 &lt;https://github.com/pytest-dev/pytest/issues/980&gt;`_: Fix truncated locals output in verbose mode.\n\n\n\nImproved Documentation\n----------------------\n\n- `3295 &lt;https://github.com/pytest-dev/pytest/issues/3295&gt;`_: Correct the usage documentation of ``--last-failed-no-failures`` by adding the missing ``--last-failed`` argument in the presented examples, because they are misleading and lead to think that the missing argument is not needed.\n\n\n\nTrivial/Internal Changes\n------------------------\n\n- `3519 &lt;https://github.com/pytest-dev/pytest/issues/3519&gt;`_: Now a ``README.md`` file is created in ``.pytest_cache`` to make it clear why the directory exists.\n   ```\n   \n  \n  \n   ### 3.6.4\n   ```\n   =========================\n\nBug Fixes\n---------\n\n- Invoke pytest using ``-mpytest`` so ``sys.path`` does not get polluted by packages installed in ``site-packages``. (`742 &lt;https://github.com/pytest-dev/pytest/issues/742&gt;`_)\n\n\nImproved Documentation\n----------------------\n\n- Use ``smtp_connection`` instead of ``smtp`` in fixtures documentation to avoid possible confusion. (`3592 &lt;https://github.com/pytest-dev/pytest/issues/3592&gt;`_)\n\n\nTrivial/Internal Changes\n------------------------\n\n- Remove obsolete ``__future__`` imports. (`2319 &lt;https://github.com/pytest-dev/pytest/issues/2319&gt;`_)\n\n- Add CITATION to provide information on how to formally cite pytest. (`3402 &lt;https://github.com/pytest-dev/pytest/issues/3402&gt;`_)\n\n- Replace broken type annotations with type comments. (`3635 &lt;https://github.com/pytest-dev/pytest/issues/3635&gt;`_)\n\n- Pin ``pluggy`` to ``&lt;0.8``. (`3727 &lt;https://github.com/pytest-dev/pytest/issues/3727&gt;`_)\n   ```\n   \n  \n  \n   ### 3.6.3\n   ```\n   =========================\n\nBug Fixes\n---------\n\n- Fix ``ImportWarning`` triggered by explicit relative imports in\n  assertion-rewritten package modules. (`3061\n  &lt;https://github.com/pytest-dev/pytest/issues/3061&gt;`_)\n\n- Fix error in ``pytest.approx`` when dealing with 0-dimension numpy\n  arrays. (`3593 &lt;https://github.com/pytest-dev/pytest/issues/3593&gt;`_)\n\n- No longer raise ``ValueError`` when using the ``get_marker`` API. (`3605\n  &lt;https://github.com/pytest-dev/pytest/issues/3605&gt;`_)\n\n- Fix problem where log messages with non-ascii characters would not\n  appear in the output log file.\n  (`3630 &lt;https://github.com/pytest-dev/pytest/issues/3630&gt;`_)\n\n- No longer raise ``AttributeError`` when legacy marks can&#39;t be stored in\n  functions. (`3631 &lt;https://github.com/pytest-dev/pytest/issues/3631&gt;`_)\n\n\nImproved Documentation\n----------------------\n\n- The description above the example for ``pytest.mark.skipif`` now better\n  matches the code. (`3611\n  &lt;https://github.com/pytest-dev/pytest/issues/3611&gt;`_)\n\n\nTrivial/Internal Changes\n------------------------\n\n- Internal refactoring: removed unused ``CallSpec2tox ._globalid_args``\n  attribute and ``metafunc`` parameter from ``CallSpec2.copy()``. (`3598\n  &lt;https://github.com/pytest-dev/pytest/issues/3598&gt;`_)\n\n- Silence usage of ``reduce`` warning in Python 2 (`3609\n  &lt;https://github.com/pytest-dev/pytest/issues/3609&gt;`_)\n\n- Fix usage of ``attr.ib`` deprecated ``convert`` parameter. (`3653\n  &lt;https://github.com/pytest-dev/pytest/issues/3653&gt;`_)\n   ```\n   \n  \n  \n   ### 3.6.2\n   ```\n   =========================\n\nBug Fixes\n---------\n\n- Fix regression in ``Node.add_marker`` by extracting the mark object of a\n  ``MarkDecorator``. (`3555\n  &lt;https://github.com/pytest-dev/pytest/issues/3555&gt;`_)\n\n- Warnings without ``location`` were reported as ``None``. This is corrected to\n  now report ``&lt;undetermined location&gt;``. (`3563\n  &lt;https://github.com/pytest-dev/pytest/issues/3563&gt;`_)\n\n- Continue to call finalizers in the stack when a finalizer in a former scope\n  raises an exception. (`3569\n  &lt;https://github.com/pytest-dev/pytest/issues/3569&gt;`_)\n\n- Fix encoding error with ``print`` statements in doctests (`3583\n  &lt;https://github.com/pytest-dev/pytest/issues/3583&gt;`_)\n\n\nImproved Documentation\n----------------------\n\n- Add documentation for the ``--strict`` flag. (`3549\n  &lt;https://github.com/pytest-dev/pytest/issues/3549&gt;`_)\n\n\nTrivial/Internal Changes\n------------------------\n\n- Update old quotation style to parens in fixture.rst documentation. (`3525\n  &lt;https://github.com/pytest-dev/pytest/issues/3525&gt;`_)\n\n- Improve display of hint about ``--fulltrace`` with ``KeyboardInterrupt``.\n  (`3545 &lt;https://github.com/pytest-dev/pytest/issues/3545&gt;`_)\n\n- pytest&#39;s testsuite is no longer runnable through ``python setup.py test`` --\n  instead invoke ``pytest`` or ``tox`` directly. (`3552\n  &lt;https://github.com/pytest-dev/pytest/issues/3552&gt;`_)\n\n- Fix typo in documentation (`3567\n  &lt;https://github.com/pytest-dev/pytest/issues/3567&gt;`_)\n   ```\n   \n  \n  \n   ### 3.6.1\n   ```\n   =========================\n\nBug Fixes\n---------\n\n- Fixed a bug where stdout and stderr were logged twice by junitxml when a test\n  was marked xfail. (`3491\n  &lt;https://github.com/pytest-dev/pytest/issues/3491&gt;`_)\n\n- Fix ``usefixtures`` mark applyed to unittest tests by correctly instantiating\n  ``FixtureInfo``. (`3498\n  &lt;https://github.com/pytest-dev/pytest/issues/3498&gt;`_)\n\n- Fix assertion rewriter compatibility with libraries that monkey patch\n  ``file`` objects. (`3503\n  &lt;https://github.com/pytest-dev/pytest/issues/3503&gt;`_)\n\n\nImproved Documentation\n----------------------\n\n- Added a section on how to use fixtures as factories to the fixture\n  documentation. (`3461 &lt;https://github.com/pytest-dev/pytest/issues/3461&gt;`_)\n\n\nTrivial/Internal Changes\n------------------------\n\n- Enable caching for pip/pre-commit in order to reduce build time on\n  travis/appveyor. (`3502\n  &lt;https://github.com/pytest-dev/pytest/issues/3502&gt;`_)\n\n- Switch pytest to the src/ layout as we already suggested it for good practice\n  - now we implement it as well. (`3513\n  &lt;https://github.com/pytest-dev/pytest/issues/3513&gt;`_)\n\n- Fix if in tests to support 3.7.0b5, where a docstring handling in AST got\n  reverted. (`3530 &lt;https://github.com/pytest-dev/pytest/issues/3530&gt;`_)\n\n- Remove some python2.5 compatibility code. (`3529\n  &lt;https://github.com/pytest-dev/pytest/issues/3529&gt;`_)\n   ```\n   \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</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  - Homepage: https://docs.pytest.org/en/latest/\n</details>\n\n","created_at":"2018-08-30T02:57:19Z","updated_at":"2018-09-06T19:13:39Z","closed_at":"2018-09-06T19:13:39Z","merged_at":null,"merge_commit_sha":"2b9cbe9c523b01fd16b0329987248b94cc16341c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/HunarTechie/gcd/pulls/37/commits","review_comments_url":"https://api.github.com/repos/HunarTechie/gcd/pulls/37/comments","review_comment_url":"https://api.github.com/repos/HunarTechie/gcd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HunarTechie/gcd/issues/37/comments","statuses_url":"https://api.github.com/repos/HunarTechie/gcd/statuses/7e6079913a6d095f25051b5c153cbdc51d9d28a2","head":{"label":"HunarTechie:pyup-update-pytest-3.4.2-to-3.7.4","ref":"pyup-update-pytest-3.4.2-to-3.7.4","sha":"7e6079913a6d095f25051b5c153cbdc51d9d28a2","user":{"login":"HunarTechie","id":35507228,"node_id":"MDQ6VXNlcjM1NTA3MjI4","avatar_url":"https://avatars0.githubusercontent.com/u/35507228?v=4","gravatar_id":"","url":"https://api.github.com/users/HunarTechie","html_url":"https://github.com/HunarTechie","followers_url":"https://api.github.com/users/HunarTechie/followers","following_url":"https://api.github.com/users/HunarTechie/following{/other_user}","gists_url":"https://api.github.com/users/HunarTechie/gists{/gist_id}","starred_url":"https://api.github.com/users/HunarTechie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HunarTechie/subscriptions","organizations_url":"https://api.github.com/users/HunarTechie/orgs","repos_url":"https://api.github.com/users/HunarTechie/repos","events_url":"https://api.github.com/users/HunarTechie/events{/privacy}","received_events_url":"https://api.github.com/users/HunarTechie/received_events","type":"User","site_admin":false},"repo":{"id":124922117,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQ5MjIxMTc=","name":"gcd","full_name":"HunarTechie/gcd","owner":{"login":"HunarTechie","id":35507228,"node_id":"MDQ6VXNlcjM1NTA3MjI4","avatar_url":"https://avatars0.githubusercontent.com/u/35507228?v=4","gravatar_id":"","url":"https://api.github.com/users/HunarTechie","html_url":"https://github.com/HunarTechie","followers_url":"https://api.github.com/users/HunarTechie/followers","following_url":"https://api.github.com/users/HunarTechie/following{/other_user}","gists_url":"https://api.github.com/users/HunarTechie/gists{/gist_id}","starred_url":"https://api.github.com/users/HunarTechie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HunarTechie/subscriptions","organizations_url":"https://api.github.com/users/HunarTechie/orgs","repos_url":"https://api.github.com/users/HunarTechie/repos","events_url":"https://api.github.com/users/HunarTechie/events{/privacy}","received_events_url":"https://api.github.com/users/HunarTechie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/HunarTechie/gcd","description":null,"fork":false,"url":"https://api.github.com/repos/HunarTechie/gcd","forks_url":"https://api.github.com/repos/HunarTechie/gcd/forks","keys_url":"https://api.github.com/repos/HunarTechie/gcd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HunarTechie/gcd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HunarTechie/gcd/teams","hooks_url":"https://api.github.com/repos/HunarTechie/gcd/hooks","issue_events_url":"https://api.github.com/repos/HunarTechie/gcd/issues/events{/number}","events_url":"https://api.github.com/repos/HunarTechie/gcd/events","assignees_url":"https://api.github.com/repos/HunarTechie/gcd/assignees{/user}","branches_url":"https://api.github.com/repos/HunarTechie/gcd/branches{/branch}","tags_url":"https://api.github.com/repos/HunarTechie/gcd/tags","blobs_url":"https://api.github.com/repos/HunarTechie/gcd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HunarTechie/gcd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HunarTechie/gcd/git/refs{/sha}","trees_url":"https://api.github.com/repos/HunarTechie/gcd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HunarTechie/gcd/statuses/{sha}","languages_url":"https://api.github.com/repos/HunarTechie/gcd/languages","stargazers_url":"https://api.github.com/repos/HunarTechie/gcd/stargazers","contributors_url":"https://api.github.com/repos/HunarTechie/gcd/contributors","subscribers_url":"https://api.github.com/repos/HunarTechie/gcd/subscribers","subscription_url":"https://api.github.com/repos/HunarTechie/gcd/subscription","commits_url":"https://api.github.com/repos/HunarTechie/gcd/commits{/sha}","git_commits_url":"https://api.github.com/repos/HunarTechie/gcd/git/commits{/sha}","comments_url":"https://api.github.com/repos/HunarTechie/gcd/comments{/number}","issue_comment_url":"https://api.github.com/repos/HunarTechie/gcd/issues/comments{/number}","contents_url":"https://api.github.com/repos/HunarTechie/gcd/contents/{+path}","compare_url":"https://api.github.com/repos/HunarTechie/gcd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HunarTechie/gcd/merges","archive_url":"https://api.github.com/repos/HunarTechie/gcd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HunarTechie/gcd/downloads","issues_url":"https://api.github.com/repos/HunarTechie/gcd/issues{/number}","pulls_url":"https://api.github.com/repos/HunarTechie/gcd/pulls{/number}","milestones_url":"https://api.github.com/repos/HunarTechie/gcd/milestones{/number}","notifications_url":"https://api.github.com/repos/HunarTechie/gcd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HunarTechie/gcd/labels{/name}","releases_url":"https://api.github.com/repos/HunarTechie/gcd/releases{/id}","deployments_url":"https://api.github.com/repos/HunarTechie/gcd/deployments","created_at":"2018-03-12T16:56:41Z","updated_at":"2018-03-16T20:04:19Z","pushed_at":"2018-09-06T19:13:35Z","git_url":"git://github.com/HunarTechie/gcd.git","ssh_url":"git@github.com:HunarTechie/gcd.git","clone_url":"https://github.com/HunarTechie/gcd.git","svn_url":"https://github.com/HunarTechie/gcd","homepage":null,"size":26,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"HunarTechie:master","ref":"master","sha":"61b9c2d06021a4801c2452d9ee17ea4193691c19","user":{"login":"HunarTechie","id":35507228,"node_id":"MDQ6VXNlcjM1NTA3MjI4","avatar_url":"https://avatars0.githubusercontent.com/u/35507228?v=4","gravatar_id":"","url":"https://api.github.com/users/HunarTechie","html_url":"https://github.com/HunarTechie","followers_url":"https://api.github.com/users/HunarTechie/followers","following_url":"https://api.github.com/users/HunarTechie/following{/other_user}","gists_url":"https://api.github.com/users/HunarTechie/gists{/gist_id}","starred_url":"https://api.github.com/users/HunarTechie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HunarTechie/subscriptions","organizations_url":"https://api.github.com/users/HunarTechie/orgs","repos_url":"https://api.github.com/users/HunarTechie/repos","events_url":"https://api.github.com/users/HunarTechie/events{/privacy}","received_events_url":"https://api.github.com/users/HunarTechie/received_events","type":"User","site_admin":false},"repo":{"id":124922117,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQ5MjIxMTc=","name":"gcd","full_name":"HunarTechie/gcd","owner":{"login":"HunarTechie","id":35507228,"node_id":"MDQ6VXNlcjM1NTA3MjI4","avatar_url":"https://avatars0.githubusercontent.com/u/35507228?v=4","gravatar_id":"","url":"https://api.github.com/users/HunarTechie","html_url":"https://github.com/HunarTechie","followers_url":"https://api.github.com/users/HunarTechie/followers","following_url":"https://api.github.com/users/HunarTechie/following{/other_user}","gists_url":"https://api.github.com/users/HunarTechie/gists{/gist_id}","starred_url":"https://api.github.com/users/HunarTechie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HunarTechie/subscriptions","organizations_url":"https://api.github.com/users/HunarTechie/orgs","repos_url":"https://api.github.com/users/HunarTechie/repos","events_url":"https://api.github.com/users/HunarTechie/events{/privacy}","received_events_url":"https://api.github.com/users/HunarTechie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/HunarTechie/gcd","description":null,"fork":false,"url":"https://api.github.com/repos/HunarTechie/gcd","forks_url":"https://api.github.com/repos/HunarTechie/gcd/forks","keys_url":"https://api.github.com/repos/HunarTechie/gcd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HunarTechie/gcd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HunarTechie/gcd/teams","hooks_url":"https://api.github.com/repos/HunarTechie/gcd/hooks","issue_events_url":"https://api.github.com/repos/HunarTechie/gcd/issues/events{/number}","events_url":"https://api.github.com/repos/HunarTechie/gcd/events","assignees_url":"https://api.github.com/repos/HunarTechie/gcd/assignees{/user}","branches_url":"https://api.github.com/repos/HunarTechie/gcd/branches{/branch}","tags_url":"https://api.github.com/repos/HunarTechie/gcd/tags","blobs_url":"https://api.github.com/repos/HunarTechie/gcd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HunarTechie/gcd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HunarTechie/gcd/git/refs{/sha}","trees_url":"https://api.github.com/repos/HunarTechie/gcd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HunarTechie/gcd/statuses/{sha}","languages_url":"https://api.github.com/repos/HunarTechie/gcd/languages","stargazers_url":"https://api.github.com/repos/HunarTechie/gcd/stargazers","contributors_url":"https://api.github.com/repos/HunarTechie/gcd/contributors","subscribers_url":"https://api.github.com/repos/HunarTechie/gcd/subscribers","subscription_url":"https://api.github.com/repos/HunarTechie/gcd/subscription","commits_url":"https://api.github.com/repos/HunarTechie/gcd/commits{/sha}","git_commits_url":"https://api.github.com/repos/HunarTechie/gcd/git/commits{/sha}","comments_url":"https://api.github.com/repos/HunarTechie/gcd/comments{/number}","issue_comment_url":"https://api.github.com/repos/HunarTechie/gcd/issues/comments{/number}","contents_url":"https://api.github.com/repos/HunarTechie/gcd/contents/{+path}","compare_url":"https://api.github.com/repos/HunarTechie/gcd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HunarTechie/gcd/merges","archive_url":"https://api.github.com/repos/HunarTechie/gcd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HunarTechie/gcd/downloads","issues_url":"https://api.github.com/repos/HunarTechie/gcd/issues{/number}","pulls_url":"https://api.github.com/repos/HunarTechie/gcd/pulls{/number}","milestones_url":"https://api.github.com/repos/HunarTechie/gcd/milestones{/number}","notifications_url":"https://api.github.com/repos/HunarTechie/gcd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HunarTechie/gcd/labels{/name}","releases_url":"https://api.github.com/repos/HunarTechie/gcd/releases{/id}","deployments_url":"https://api.github.com/repos/HunarTechie/gcd/deployments","created_at":"2018-03-12T16:56:41Z","updated_at":"2018-03-16T20:04:19Z","pushed_at":"2018-09-06T19:13:35Z","git_url":"git://github.com/HunarTechie/gcd.git","ssh_url":"git@github.com:HunarTechie/gcd.git","clone_url":"https://github.com/HunarTechie/gcd.git","svn_url":"https://github.com/HunarTechie/gcd","homepage":null,"size":26,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HunarTechie/gcd/pulls/37"},"html":{"href":"https://github.com/HunarTechie/gcd/pull/37"},"issue":{"href":"https://api.github.com/repos/HunarTechie/gcd/issues/37"},"comments":{"href":"https://api.github.com/repos/HunarTechie/gcd/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/HunarTechie/gcd/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/HunarTechie/gcd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HunarTechie/gcd/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/HunarTechie/gcd/statuses/7e6079913a6d095f25051b5c153cbdc51d9d28a2"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"unstable","merged_by":null,"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"pyup-bot"}}