Revisions of python-pytest-check
Dominique Leuenberger (dimstar_suse)
accepted
request 1198057
from
Dirk Mueller (dirkmueller)
(revision 8)
- 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
Ana Guerrero (anag+factory)
accepted
request 1143496
from
Dirk Mueller (dirkmueller)
(revision 7)
- 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
Ana Guerrero (anag+factory)
accepted
request 1137813
from
Dirk Mueller (dirkmueller)
(revision 6)
- 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
Dominique Leuenberger (dimstar_suse)
accepted
request 1137114
from
Dirk Mueller (dirkmueller)
(revision 5)
- update to 2.2.3: * Check failure info now shows up in summaries.
Ana Guerrero (anag+factory)
accepted
request 1114842
from
Dirk Mueller (dirkmueller)
(revision 4)
- update to 2.2.2: * fixed Issue #7
Ana Guerrero (anag+factory)
accepted
request 1111063
from
Factory Maintainer (factory-maintainer)
(revision 3)
Automatic submission by obs-autosubmit
Dominique Leuenberger (dimstar_suse)
accepted
request 1100440
from
Dirk Mueller (dirkmueller)
(revision 2)
- 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
Dominique Leuenberger (dimstar_suse)
accepted
request 989344
from
Markéta Machová (mcalabkova)
(revision 1)
needed for testing of python-sphobjinv
Displaying all 8 revisions