Marcin Kozak

Results 39 issues of Marcin Kozak

Currently, `MEMLOGS` is a list of `MemLog` elements. `dict(MEMLOGS)` works great only when there are repeated IDs. If there are such, only the last one will be included in the...

In examples, `perftester` is imported as `import perftester as pt`. Should it be imported using its full name?

Add CI flow via GitHub actions.

Add a context manager to benchmark code within the scope of the manager.

There's this `perftester.pp` function, which can be used to report results. But it prints all the results while usually we need a small portion of them. Perhaps we could offer...

This is the continuation of [another issue](https://github.com/nyggus/easycheck/issues/59). This task aims to implement unit complex tests to check the traceback of all `easycheck` check functions and assertion functions.

The `switch` function doesn't set `__tracebackhide__` to `True`. Thus the resulting traceback when an `easycheck` check fails is uninformative. This task aims to add the following line to the `switch`...

Use default of `ValueError` instead of `AssertionError` in `check_if()`. The latter is used in `assert_*` functions, and it's fine. But the natural solution for `check_if()` seems to be `ValueError`.

Should it use `math.nan` and `float('nan')`, too?