Closed felixonmars closed 6 years ago
This is expected. You need to install the unittest2
module under Python 2:
https://github.com/berkerpeksag/astor/blob/68fbf65ed4eb7a9d5b0a3a380b57d3329012c2a4/tox.ini#L10
I could replace assertWarns
usages with warnings.catch_warnings()
in Python 2 but I think at this point it's not worth to spend too much time with Python 2 compatibility issues so I just decided to use unittest2
under Python 2.
I see, thanks for the info!
These are not present in 0.6, but present in 0.6.1 and latest 0.6.2 release: