Commit Graph

9 Commits

Author SHA256 Message Date
Marius Grossu
f958636dbf Update to version 2.6.0 2025-11-05 18:14:57 +01:00
23e6d65a29 - update to 2.4.1:
* Added `is_nan()` and `is_not_nan()`
  * Drop Python 3.7
  * Add testing for Python 3.12
  * Add tox-uv to tox.ini and main.yml

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-check?expand=0&rev=16
2024-08-31 12:11:55 +00:00
e4bf83a7a1 - update to 2.3.1:
* Documentation Update, README.md
  * Turn help function list into a table with param lists
  * Show an alternative method of creating a helper function
    using `check.fail()`
  * `fail(msg)` - indicate test failure, but don't stop testing
  * Summaries from 2.2.3 are cool, but don't work with xdist

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-check?expand=0&rev=14
2024-02-01 20:54:45 +00:00
3e1c11bc85 - update to 2.2.4:
* fix 153
  * Summaries from 2.2.3 are cool, but don't work for pytest <
    7.3; Remove them for earlier pytest
  * Add tox test run for pytest 7.0.0
  * Change dependencies to require 7.0.0 pytest

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-check?expand=0&rev=12
2024-01-09 21:34:11 +00:00
e25afd6467 - update to 2.2.3:
* Check failure info now shows up in summaries.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-check?expand=0&rev=10
2024-01-05 17:12:09 +00:00
8bae924144 - update to 2.2.2:
* fixed Issue #7

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-check?expand=0&rev=8
2023-10-02 14:57:13 +00:00
61058b4ac2 - update to 2.2.1:
* Increase Python range to include 3.7.0. Thanks EliahKagan

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-check?expand=0&rev=6
2023-09-07 09:23:47 +00:00
46c01677e9 - update to 2.2.0:
* pseudo traceback additions
    `-l` or `--showlocals` shows locals
    `__tracebackhide__ = True` is honored.
  * Fix 127 IndexError when running a check in a thread
  * include tests an examples in sdist -  pr 121
  * README.md - clean up documentation for `--check-max-tb`.
  * Minor internal cleanup - removed some debug code.
  * `check.call_on_fail(func)` - ***Experimental***
  * Name changed from `check.set_failure_callback(func)`.
  * This "func" function will be called for each failed check,
    and needs to accept a string parameter.
  * With the following change, the default is now pretty darn
    fast, and most people will not need to modify any settings to
    get most of the speed improvements.
  * `--check-max-tb=<int>` - sets the max number of pseudo-
    traceback reports per test function.
  * `check.set_no_tb` and `--set-no-tb` will be removed in a
    future release. (probably soon)
  * Since `--check-max-tb` is more useful, the default for
    `--check-max-tb` is 1, which is already pretty fast.
  * And `--check-max-tb=0` has the same effect as `--check-no-
    tb`.
  * Most changes are related to speedup improvements.
  * use `--check-no-tb --check-max-report=10` to get super zippy.
  * `check.between()` added just for fun
  * Rewrote `check.equal()` and other helper functions to not use
    assert.
  * `--check-no-tb` - turn off tracebacks
  * `--check-max-report` - limit reported failures per test

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-check?expand=0&rev=4
2023-07-24 18:49:04 +00:00
1ed4378cd7 Accepting request 989236 from home:bnavigator:branches:devel:languages:python
required to test sphobjinv

OBS-URL: https://build.opensuse.org/request/show/989236
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-check?expand=0&rev=1
2022-07-15 07:19:31 +00:00