[#1484] Switch to nose.tools.eq_ instead of assert

Fixes #1484.