MDSplus / mdsplus

The MDSplus data management system
https://mdsplus.org/
Other
75 stars 45 forks source link

Build: Monkeypatch nose to support python3 #2779

Closed WhoBrokeTheBuild closed 5 months ago

WhoBrokeTheBuild commented 5 months ago

In python3: collections.Callable -> collections.abc.Callable

So we test for collections.Callable and then monkeypatch collections if it's not there

Fixes our tests that simply SKIP on python3+ platforms

...
AttributeError: module 'collections' has no attribute 'Callable'
unrecoverable error from nose None
SKIP tree_node_test.py (exit status: 77)