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

History of commit frequency

CVS Commit History:


   2018-09-07 10:55:43 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-test: updated to 3.8.0

pytest 3.8.0:

Deprecations and Removals
- Config.warn has been deprecated, it should be replaced by calls to the \ 
standard warnings.warn.
  Node.warn now supports two signatures:
  * node.warn(PytestWarning("some message")): is now the recommended \ 
way to call this function. The warning
    instance must be a PytestWarning or subclass  instance.
  * node.warn("CI", "some message"): this code/message form \ 
is now deprecated and should be converted to
    the warning instance form above.
  RemovedInPytest4Warning and PytestExperimentalApiWarning are now part of the \ 
public API and should be accessed
  using pytest.RemovedInPytest4Warning and pytest.PytestExperimentalApiWarning.
- @pytest.mark.filterwarnings second parameter is no longer regex-escaped,
  making it possible to actually use regular expressions to check the warning \ 
message.
  **Note**: regex-escaping the match string was an implementation oversight that \ 
might break test suites which depend
  on the old behavior.

Features
- Internal pytest warnings are now issued using the standard warnings module, \ 
making it possible to use
  the standard warnings filters to manage those warnings. This introduces \ 
PytestWarning,
  PytestDeprecationWarning and RemovedInPytest4Warning warning types as part of \ 
the public API.
- DeprecationWarning and PendingDeprecationWarning are now shown by default if \ 
no other warning filter is
  configured.
- Add option to disable plugin auto-loading.
- Added the count option to console_output_style to enable displaying the \ 
progress as a count instead of a percentage.
- Added support for 'xfailed' and 'xpassed' outcomes to the \ 
pytester.RunResult.assert_outcomes signature.
- Terminal writer now takes into account unicode character width when writing \ 
out progress.
- Pytest now returns with correct exit code (EXIT_USAGEERROR, 4) when called \ 
with unknown arguments.
- Improve performance of assertion rewriting.

- Added a blurb in usage.rst for the usage of -r flag which is used to show an \ 
extra test summary info.
- Corrected type of the exceptions collection passed to xfail: raises argument \ 
accepts a tuple instead of list.

Trivial/Internal Changes
- Removed "run all (no recorded failures)" message printed with \ 
--failed-first and --last-failed when there are no failed tests.
   2018-08-30 12:04:44 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 3.7.4

pytest 3.7.4:

Bug Fixes
- Fix possible infinite recursion when writing .pyc files.
- Cache plugin now obeys the -q flag when --last-failed and --failed-first flags \ 
are used.
- Fix bad console output when using console_output_style=classic.
- Fix macOS specific code using capturemanager plugin in doctests.
   2018-08-28 11:52:53 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-test: DEPEND on py-pathlib2 for Python < 3.6
   2018-08-27 08:06:02 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 3.7.3

pytest 3.7.3:

Bug Fixes
* Fixtures during teardown can again use capsys and capfd to inspect output \ 
captured during tests.
* Fix collection of tests from __init__.py files if they match the python_files \ 
configuration option.
* Fix issue where teardown of fixtures of consecutive sub-packages were executed \ 
once, at the end of the outer package.
* Fix bug where --show-capture=no option would still show logs printed during \ 
fixture teardown.
* Fix stdout/stderr not getting captured when real-time cli logging is active.
* Fix collection error when specifying test functions directly in the command \ 
line using test.py::test syntax together with --doctest-modules.
* Fix bugs where unicode arguments could not be passed to testdir.runpytest on \ 
Python 2.
* Fix double collection of tests within packages when the filename starts with a \ 
capital letter.
   2018-08-19 10:12:20 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 3.7.2

pytest 3.7.2:

Bug Fixes
- Fix filterwarnings not being registered as a builtin mark.
- Fix test collection from packages mixed with normal directories.
- Fix infinite recursion during collection if a pytest_ignore_collect hook \ 
returns False instead of None.
- Fix bug where decorated fixtures would lose functionality (for example \ 
@mock.patch).
- Fix bug where importing modules or other objects with prefix pytest_ prefix \ 
would raise a PluginValidationError.
- Fix AttributeError during teardown of TestCase subclasses which raise an \ 
exception during __init__.
- Fix traceback reporting for exceptions with __cause__ cycles.
   2018-08-05 12:27:30 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-test: bump py-pluggy DEPENDS
   2018-08-05 12:17:47 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-test: updated to 3.7.1

pytest 3.7.1:

Bug Fixes
- Raise immediately if approx() is given an expected value of a type it doesn't \ 
understand (e.g. strings, nested dicts, etc.).
- Correctly represent the dimensions of an numpy array when calling repr() on \ 
approx().
- Display the absolute path if cache_dir is not relative to the rootdir instead \ 
of failing.
- Fix compatibility problem with plugins and the warning code issued by fixture \ 
functions when they are called directly.
- Fix infinite recursion in pytest.approx with arrays in numpy<1.13.
- Pin pathlib2 to >=2.2.0 as we require __fspath__ support.
- Fix TypeError when the assertion message is bytes in python 3.

pytest 3.7.0:

Deprecations and Removals
- pytest_namespace has been deprecated.
  See the documentation for pytest_namespace hook for suggestions on how to deal
  with this in plugins which use this functionality.
- 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.
  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.

Features
- New package fixture scope: fixtures are finalized when the last test of a \ 
*package* finishes. This feature is considered **experimental**, so use it \ 
sparingly.
- Node.add_marker now supports an append=True/False parameter to determine \ 
whether the mark comes last (default) or first.
- 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.
- New --trace option to enter the debugger at the start of a test.
- Introduce pytester.copy_example as helper to do acceptance tests against \ 
examples from the project.

Bug Fixes
- 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.
- Fix ApproxNumpy initialisation argument mixup, abs and rel tolerances were \ 
flipped causing strange comparsion results.
  Add tests to check abs and rel tolerances for np.array and test for expecting \ 
nan with np.array()
- Fix truncated locals output in verbose mode.

Improved Documentation
- 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.

Trivial/Internal Changes
- Now a README.md file is created in .pytest_cache to make it clear why the \ 
directory exists.
   2018-07-05 08:48:20 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 3.6.3

3.6.3:
Bug Fixes
* Fix ImportWarning triggered by explicit relative imports in \ 
assertion-rewritten package modules.
* Fix error in pytest.approx when dealing with 0-dimension numpy arrays.
* No longer raise ValueError when using the get_marker API.
* Fix problem where log messages with non-ascii characters would not appear in \ 
the output log file.
* No longer raise AttributeError when legacy marks can’t be stored in functions.

Improved Documentation
* The description above the example for @pytest.mark.skipif now better matches \ 
the code.

Trivial/Internal Changes
* Internal refactoring: removed unused CallSpec2tox ._globalid_args attribute \ 
and metafunc parameter from CallSpec2.copy().
* Silence usage of reduce warning in Python 2
* Fix usage of attr.ib deprecated convert parameter
   2018-06-21 08:41:14 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-test: updated to 3.6.2

Pytest 3.6.2:

Bug Fixes
Fix regression in Node.add_marker by extracting the mark object of a MarkDecorator.
Warnings without location were reported as None. This is corrected to now report \ 
<undetermined location>.
Continue to call finalizers in the stack when a finalizer in a former scope \ 
raises an exception.
Fix encoding error with print statements in doctests

Improved Documentation
Add documentation for the --strict flag.

Trivial/Internal Changes
Update old quotation style to parens in fixture.rst documentation.
Improve display of hint about --fulltrace with KeyboardInterrupt.
pytest’s testsuite is no longer runnable through python setup.py test – \ 
instead invoke pytest or tox directly.
Fix typo in documentation
   2018-06-06 21:27:51 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test: updated to 3.6.1

Pytest 3.6.1:
Bug Fixes
* Fixed a bug where stdout and stderr were logged twice by junitxml when a test \ 
was marked xfail.
* Fix usefixtures mark applyed to unittest tests by correctly instantiating \ 
FixtureInfo.
* Fix assertion rewriter compatibility with libraries that monkey patch file objects.

Improved Documentation
* Added a section on how to use fixtures as factories to the fixture documentation.

Trivial/Internal Changes
* Enable caching for pip/pre-commit in order to reduce build time on travis/appveyor.
* Switch pytest to the src/ layout as we already suggested it for good practice \ 
- now we implement it as well.
* Fix if in tests to support 3.7.0b5, where a docstring handling in AST got reverted.
* Remove some python2.5 compatibility code.

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