ZeroIntensity / view.py

The Batteries-Detachable Web Framework
https://view.zintensity.dev
MIT License
206 stars 15 forks source link

Adding tests for memory leaks in the C API #109

Closed ZeroIntensity closed 1 month ago

ZeroIntensity commented 6 months ago

Improvement Description

Memray should be used to ensure there are no memory leaks throughout the C API

Improvement Request Example API

N/A

Anything else?

pytest-memray looks like the best option, but view.py uses ward instead. Either it needs to be reverse-engineered for ward, or a separate testing suite needs to be set up for pytest.