Overview

Request 1100440 accepted

- 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=` - 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

Request History
Dirk Mueller's avatar

dirkmueller created request

- 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=` - 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


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Staging Bot's avatar

staging-bot added as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:8"


Staging Bot's avatar

staging-bot accepted review

Picked "openSUSE:Factory:Staging:adi:8"


Marcus Rueckert's avatar

darix accepted review

Accepted review for by_group opensuse-review-team request 1100440 from user staging-bot


Dominique Leuenberger's avatar

dimstar_suse accepted review

Staging Project openSUSE:Factory:Staging:adi:8 got accepted.


Dominique Leuenberger's avatar

dimstar_suse approved review

Staging Project openSUSE:Factory:Staging:adi:8 got accepted.


Dominique Leuenberger's avatar

dimstar_suse accepted request

Staging Project openSUSE:Factory:Staging:adi:8 got accepted.

openSUSE Build Service is sponsored by