Python Test Framework

Edit Package python-pytest

The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries.

Refresh
Refresh
Source Files
Filename Size Changed
_multibuild 0000000053 53 Bytes
pytest-8.2.0.tar.gz 0001422883 1.36 MB
python-pytest.changes 0000156665 153 KB
python-pytest.spec 0000004956 4.84 KB
Latest Revision
Steve Kowalik's avatar Steve Kowalik (StevenK) committed (revision 136)
- Update to 8.2.0:
  * A deprecation warning is now raised when implementations of one of the
    following hooks request a deprecated py.path.local parameter.
  * Added support for reading command line arguments from a file using the
    prefix character @.
  * Fixed a regression in pytest 8.0.0 where test classes containing
    setup_method and tests using @staticmethod or @classmethod would crash
    with AttributeError.
  * pluggy>=1.5.0 is now required.
  * Added PYTEST_VERSION environment variable which is defined at the start
    of the pytest session and undefined afterwards.
  * Improved namespace packages detection when consider_namespace_packages
    is enabled.
  * pytest.importorskip will now issue a warning if the module could be
    found, but raised ImportError.
  * Fixed error in pytest.approx when used with numpy arrays and comparing
    with other types.
  * Added the new consider_namespace_packages configuration option,
    defaulting to False.
  * Added the new verbosity_test_cases configuration option for fine-grained
    control of test execution verbosity.
  * --import-mode=importlib <import-mode-importlib> now tries to import
    modules using the standard import mechanism.
  * Added support for sys.last_exc for post-mortem debugging on Python>=3.12.
  * Fixed a regression in pytest 8.0.0 that would cause test collection to
    fail due to permission errors when using --pyargs.
  * Fix the stacklevel used when warning about marks used on fixtures.
  * Fix an edge case where ExceptionInfo._stringify_exception could crash.
  * Fix an IndexError crash raising from getstatementrange_ast.
  * PytestRemovedIn8Warning deprecation warnings are now errors by default.
Comments 0
openSUSE Build Service is sponsored by