Closed mgedmin closed 1 year ago
And 3.11.0 final.
I'm not sure what to do about this issue. As far as I know, there are no actual issues with using objgraph on Python 3.11. The tests are failing because 3.11 legitimately changed some internal implementation details.
In a unit test I could make the number of expected nodes contingent on the Python version. But I chose to use doctests a long time ago, and doctests add subtle pressure to make the test suite readable.
I could maybe ignore the node count for these particular tests.
In fact why don't I do that? I already have an IgnoreNodeCountChecker hooked to my DocFileSuite() so all I'd need is a # doctest: +NODES_VARY
flag on these three failing tests.
I'd forgotten I had this.
Three tests fail under Python 3.11.0rc2+: