tox: Remove dependency on nose
session: Fix warning about unclosed file handle in Python 3