edsu / pymarc

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

reload() was moved in Python 3 #124

Closed cclauss closed 5 years ago

cclauss commented 5 years ago

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

Wooble commented 5 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...)