Anthony Shaw

Results 180 issues of Anthony Shaw

I was thinking about the challenge of calculating the "coverage" of Glom that @mahmoud raised on the Test & Code podcast. Manually writing parameterised tests for Pytest would be cumbersome...

Please can you add changenotes with releases. its impossible to know what was shipped in the last update. If you create the release on GitHub, use the "Auto-generate release notes"...

Adds types for indexed fields ```python class DocumentExample(Document): example1 : Indexed(str, pymongo.ASCENDING) ``` would become ```python class DocumentExample(Document): example1 : Indexed(str, pymongo.HASHED) ``` would become ```python class DocumentExample(Document): example1 :...

Pytest 7.1.0 plugins: asyncio-0.19.0, repeat-0.9.1 When using the `capsys` fixture, starting an async StreamWriter using the `stdout` or `stderr` pipes fails under test and works in regular Python. It looks...

type: bug
plugin: capture

I'm trying to write some tests for the `msexchange` pack and hitting some issues with the BaseActionTestCase because the pack uses the st2 client to read and write cache entries......

stale

Rich comes with 2 required dependencies: commonmark and pygments. CommonMark for Markdown parsing and rendering. Pygments for code syntax highlighting. I'm often pulling in rich for colorised outputs, tables, and...

Needs triage

Python 3.11 implements code position ranges in tracebacks. ```python from rich.traceback import install install(show_locals=True) data = [ { "person": { "friends": [ {"name": "Sally", "age": 32}, {"name": "Yuri", "age": 43}...

accepted

### Description The default help message shows `(null)` instead of the name of the binary ### Steps to Reproduce ```console $ sudo apt-get install austin Reading package lists... Done Building...

Fixes a bug where if the host Python is from the Windows store then DATA_DIR will be different with subproceses. This causes a crash creating virtual environments. See https://github.com/mu-editor/crash-reports/issues/228 Fixes...

### What were you trying to do? Launch from a virtual environment ### What steps did you take to trigger the issue? 1. Install Python 3.8 from the Windows store...