edsu / pymarc

process MARC records from Python
http://python.org/pypi/pymarc
Other
253 stars 98 forks source link

reload() was moved in Python 3 #124

Closed cclauss closed 6 years ago

cclauss commented 6 years ago

Use __six.moves.reload_module()__ instead for compatibility with both Python 2 and Python 3.

Wooble commented 6 years ago

Note that this is in a disabled test; I'm not sure why it wasn't just deleted.

(I'm also unsure of the wisdom of reloading pymarc at all here, or why it would need that to "pick up" the change in stderr...)