Next | Query returned 87 messages, browsing 1 to 10 | Previous

History of commit frequency

CVS Commit History:

   2019-06-13 09:44:54 by Thomas Klausner | Files touched by this commit (1) | Package updated
Log message:
py-test: update to 4.6.3nb1.

From the 4.5.0 changelog:
- pytest now depends on wcwidth

Make it so.
   2019-06-12 12:03:49 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 4.6.3

pytest 4.6.3:
Bug Fixes
* -q has again an impact on the style of the collected items (--collect-only) \ 
when --log-cli-level is used.
* Fix regressions of 5063 for importlib_metadata.PathDistribution which have \ 
their files attribute being None.
* Fix regression where the obj attribute of TestCase items was no longer bound \ 
to methods.
   2019-06-05 07:11:46 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 4.6.2

pytest 4.6.2:
Bug Fixes
* Revert unrolling of all() to fix NameError on nested comprehensions.
* Revert unrolling of all() to fix incorrect handling of generators with if.
* Revert unrolling of all() to fix incorrect assertion when using all() in an \ 
   2019-06-03 10:42:13 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 4.6.1

pytest 4.6.1:
Bug Fixes
* Fix pytest.mark.parametrize when the argvalues is an iterator.
* Fix assertion rewriting of all() calls to deal with non-generators.
   2019-06-02 10:31:27 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 4.6.0

pytest 4.6.0:

The 4.6.X series will be the last series to support Python 2 and Python 3.4.

* Added the junit_log_passing_tests ini value which can be used to enable or \ 
disable logging of passing test output in the Junit XML file.
* pytester’s testdir.spawn uses tmpdir as HOME/USERPROFILE directory.
* Unroll calls to all to full for-loops with assertion rewriting for better \ 
failure messages, especially when using Generator Expressions.
* Switch from pkg_resources to importlib-metadata for entrypoint detection for \ 
improved performance and import time.
* The output for ini options in --help has been improved.
* pytest.importorskip includes the ImportError now in the default reason.
* Captured logs that are output for each failing test are formatted using the \ 
* Improved formatting of multiline log messages in Python 3.
Bug Fixes

* The debugging plugin imports the wrapped Pdb class (--pdbcls) on-demand now.
* The pytest_enter_pdb hook gets called with post-mortem (--pdb).
* Fix issue where fixtures dependent on other parametrized fixtures would be \ 
erroneously parametrized.
* Handle internal error due to a lone surrogate unicode character not being \ 
representable in Jython.
* Ensure that sys.stdout.mode does not include 'b' as it is a text stream.
* Pytest’s internal python plugin can be disabled using -p no:python again.
* Fix issue with \ 
disable_test_id_escaping_and_forfeit_all_rights_to_community_support option not \ 
working when using a list of test IDs in parametrized tests.
* Show the test module being collected when emitting PytestCollectionWarning \ 
messages for test classes with __init__ and __new__ methods to make it easier to \ 
pin down the problem.
* Fix regression in 4.5.0 with --lf not re-running all tests with known failures \ 
from non-selected tests.

Improved Documentation
* Expand docs on use of setenv and delenv with monkeypatch.
   2019-05-14 09:42:01 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 4.5.0

pytest 4.5.0:

- A warning is now emitted when unknown marks are used as a decorator.
  This is often due to a typo, which can lead to silently broken tests.
- Show XFail reason as part of JUnitXML message field.
- Messages from crash reports are displayed within test summaries now, truncated \ 
to the terminal width.
- New flag --strict-markers that triggers an error when unknown markers (e.g. \ 
those not registered using the markers option_ in the configuration file) are \ 
used in the test suite.
  The existing --strict option has the same behavior currently, but can be \ 
augmented in the future for additional checks.
- Assertion failure messages for sequences and dicts contain the number of \ 
different items now.
- Improve reporting with --lf and --ff (run-last-failure).
- The --cache-show option/action accepts an optional glob to show only matching \ 
cache entries.
- Standard input (stdin) can be given to pytester's and \ 
- The -r option learnt about A to display all reports (including passed ones) in \ 
the short test summary.
- The short test summary is displayed after passes with output (-rP).
- The --last-failed (--lf) option got smarter and will now skip entire files if \ 
all tests
  of that test file have passed in previous runs, greatly speeding up collection.
- Introduce new specific warning PytestWarning subclasses to make it easier to \ 
filter warnings based on the class, rather than on the message. The new \ 
subclasses are:
  * PytestAssertRewriteWarning
  * PytestCacheWarning
  * PytestCollectionWarning
  * PytestConfigWarning
  * PytestUnhandledCoroutineWarning
  * PytestUnknownMarkWarning
- New record_testsuite_property session-scoped fixture allows users to log \ 
<property> tags at the testsuite
  level with the junitxml plugin.
  The generated XML is compatible with the latest xunit standard, contrary to
  the properties recorded by record_property and record_xml_attribute.
- The default logging format has been changed to improve readability. Here is an
  example of a previous logging message::    3 CRITICAL critical message logged by test
  This has now become::
      CRITICAL critical message logged \ 
by test
  The formatting can be changed through the log_format \ 
<>__ \ 
configuration option.
- --fixtures now also shows fixture scope for scopes other than "function".

Bug Fixes
- Deselected items from plugins using pytest_collect_modifyitems as a \ 
hookwrapper are correctly reported now.
-  With usage errors exitstatus is set to EXIT_USAGEERROR in the \ 
pytest_sessionfinish hook now as expected.
- outcome.exit is not used with EOF in the pdb wrapper anymore, but only with quit.

Improved Documentation
- Expand docs on registering marks and the effect of --strict.

Trivial/Internal Changes
- logging.raiseExceptions is not set to False anymore.
- pytest now depends on wcwidth <>__ to \ 
properly track unicode character sizes for more precise terminal output.
- pytester's Testdir.popen() uses stdout and stderr via keyword arguments with \ 
defaults now (subprocess.PIPE).
- The code for the short test summary in the terminal was moved to the terminal \ 
- Improved validation of kwargs for various methods in the pytester plugin.
- record_property now emits a PytestWarning when used with junit_family=xunit2: \ 
the fixture generates
  property tags as children of testcase, which is not permitted according to the most
  recent schema <
- Pin pluggy to < 1.0 so we don't update to 1.0 automatically when
  it gets released: there are planned breaking changes, and we want to ensure
  pytest properly supports pluggy 1.0.
   2019-05-09 13:59:31 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 4.4.2

pytest 4.4.2:

Bug Fixes
* Fix crash caused by error in __repr__ function with both showlocals and \ 
verbose output enabled.
* Eliminate core dependency on ‘terminal’ plugin.
* Require pluggy>=0.11.0 which reverts a dependency to importlib-metadata \ 
added in 0.10.0. The importlib-metadata package cannot be imported when \ 
installed as an egg and causes issues when relying on to install test \ 

Improved Documentation
* Doc: pytest_ignore_collect, pytest_collect_directory, pytest_collect_file and \ 
pytest_pycollect_makemodule hooks’s ‘path’ parameter documented type is \ 
now py.path.local
* Improve help for --runxfail flag.

Trivial/Internal Changes
* Removed internal and unused _pytest.deprecated.MARK_INFO_ATTRIBUTE.
   2019-04-16 09:17:07 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 4.4.1

pytest 4.4.1:
Bug Fixes
* Environment variables are properly restored when using pytester’s testdir \ 
* Fix regression with --pdbcls, which stopped working with local modules in 4.0.0.
* Produce a warning when unknown keywords are passed to pytest.param(...).
* Invalidate import caches with monkeypatch.syspath_prepend, which is required \ 
with namespace packages being used.
   2019-04-02 11:43:52 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 4.4.0

pytest 4.4.0:

* async test functions are skipped and a warning is emitted when a suitable \ 
async plugin is not installed (such as pytest-asyncio or pytest-trio).
Previously async functions would not execute at all but still be marked as \ 

* Include new \ 
disable_test_id_escaping_and_forfeit_all_rights_to_community_support option to \ 
disable ascii-escaping in parametrized values. This may cause a series of \ 
problems and as the name makes clear, use at your own risk.
* The -p option can now be used to early-load plugins also by entry-point name, \ 
instead of just by module name.
This makes it possible to early load external plugins like pytest-cov in the \ 
pytest -p pytest_cov

* The --pdbcls option handles classes via module attributes now (e.g. \ 
pdb:pdb.Pdb with pdb++), and its validation was improved.
* The testpaths configuration option is now displayed next to the rootdir and \ 
inifile lines in the pytest header if the option is in effect, i.e., directories \ 
or file names were not explicitly passed in the command line.
Also, inifile is only displayed if there’s a configuration file, instead of an \ 
empty inifile: string.

* Doctests can be skipped now dynamically using pytest.skip().
* Internal refactorings have been made in order to make the implementation of \ 
the pytest-subtests plugin possible, which adds unittest sub-test support and a \ 
new subtests fixture as discussed in 1367.
For details on the internal refactorings, please see the details on the related PR.

* pytester’s LineMatcher asserts that the passed lines are a sequence.
* Handle -p plug after -p no:plug.
This can be used to override a blocked plugin (e.g. in “addopts”) from the \ 
command line etc.

* Output capturing is handled correctly when only capturing via fixtures \ 
(capsys, capfs) with pdb.set_trace().
* pytester sets $HOME and $USERPROFILE to the temporary directory during test runs.
This ensures to not load configuration files from the real user’s home directory.

* Namespace packages are handled better with monkeypatch.syspath_prepend and \ 
testdir.syspathinsert (via pkg_resources.fixup_namespace_packages).
* The stepwise plugin reports status information now.
* If a setup.cfg file contains [tool:pytest] and also the no longer supported \ 
[pytest] section, pytest will use [tool:pytest] ignoring [pytest]. Previously it \ 
would unconditionally error out.
This makes it simpler for plugins to support old pytest versions.

Bug Fixes
* Fix bug where fixtures requested dynamically via request.getfixturevalue() \ 
might be teardown before the requesting fixture.
* pytester unsets PYTEST_ADDOPTS now to not use outer options with \ 
* Use the correct modified time for years after 2038 in rewritten .pyc files.
* Fix line offsets with ScopeMismatch errors.
* -p no:plugin is handled correctly for default (internal) plugins now, e.g. \ 
with -p no:capture.
Previously they were loaded (imported) always, making e.g. the capfd fixture \ 

* The pdb quit command is handled properly when used after the debug command \ 
with pdb++.
* Fix the interpretation of -qq option where it was being considered as -v instead.
* outcomes.Exit is not swallowed in assertrepr_compare anymore.
* Close logging’s file handler explicitly when the session finishes.
* Fix line offset with mark collection error (off by one).

Improved Documentation
* Update docs for pytest_cmdline_parse hook to note availability liminations
Trivial/Internal Changes
* pluggy>=0.9 is now required.
* funcsigs>=1.0 is now required for Python 2.7.
* Some left-over internal code related to yield tests has been removed.
* Remove internally unused anypython fixture from the pytester plugin.
* Remove deprecated Sphinx directive, add_description_unit(), pin \ 
sphinx-removed-in to >= 0.2.0 to support Sphinx 2.0.
* Fix pytest tests invocation with custom PYTHONPATH.
* New pytest_report_to_serializable and pytest_report_from_serializable \ 
experimental hooks.
These hooks will be used by pytest-xdist, pytest-subtests, and the replacement \ 
for resultlog to serialize and customize reports.
They are experimental, meaning that their details might change or even be \ 
removed completely in future patch releases without warning.

Feedback is welcome from plugin authors and users alike.

* Collector.repr_failure respects the --tb option, but only defaults to short \ 
now (with auto).
   2019-03-13 09:54:21 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 4.3.1

pytest 4.3.1:

Bug Fixes
- Logging messages inside pytest_runtest_logreport() are now properly captured \ 
and displayed.
- Improve validation of contents written to captured output so it behaves the \ 
same as when capture is disabled.
- Fix AttributeError: FixtureRequest has no 'confg' attribute bug in \ 

Trivial/Internal Changes
- Avoid pkg_resources import at the top-level.

Next | Query returned 87 messages, browsing 1 to 10 | Previous