python-devtools
python-devtools copied to clipboard
Dev tools for python
🔊 Add info about one reason for `RuntimeError`, which is otherwise difficult to catch When there's a multiline error message in an assert, `insert_assert` can't find the frame, probably a...
I added logger_function parameter to Debug() class that replaces print if set. Here is an example of usage with loguru: ```python from devtools import Debug from loguru import logger debug...
✨ Add support for sorting data in `insert_assert` based on previous data (e.g. from a previous run) to minimize the diff. ## Motivation Of of the main use cases for...
Helloes, under certain conditions (maybe system load being high?) the timer tests can fail randomly: > error: builder for '/nix/store/r19bvjb3xkabyzl3w2s19kw16gafachy-python3.11-devtools-0.12.2.drv' failed with exit code 1; > last 10 log lines:...
Without this fix, insert_assert cannot handle mock.call objects due to their weird structure.
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.15 to 1.26.18. Release notes Sourced from urllib3's releases. 1.26.18 Made body stripped from HTTP requests changing the request method to GET after HTTP 303 "See Other"...
Hi! I'm packaging this project for Arch Linux and ran into a few problems when trying to run tests for 0.11.0. ``` ============================= test session starts ============================== platform linux --...
As discussed in #105, this PR adds some options to have `debug()` output stack traces. While I was working on this, I realized that there are two reasonable way to...
Just released a new version of executing for 3.12 and wanted to check that it isn't breaking things elsewhere
Every time I used insert_assert I was ecstatic with my new productivity but something was missing: it was always painful to catch and match exceptions. Only recently have I realized...