pygobject / pycairo

Python bindings for cairo
https://pycairo.readthedocs.io
Other
613 stars 83 forks source link

tests: don't depend on specific ref counts #291

Closed lazka closed 1 year ago

lazka commented 1 year ago

These tests currently fail in CI under MSYS2. I can't reproduce the errors locally for some reason :/

But ideally we shouldn't rely on specific refcounts anyway, so just test that they either increase/decrease and return to their original value. This should ignore the cases where the ref counts start out different somehow.

stuaxo commented 1 year ago

Thanks, got to this before I reported it as a bug :)