Cleaned up imports for unittest
This PR adds /gwpy/tests/compat.py
to import unittest2
for py26, and unittest
for all higher versions, so that the version check doesn't need to be done in every test module.
This PR adds /gwpy/tests/compat.py
to import unittest2
for py26, and unittest
for all higher versions, so that the version check doesn't need to be done in every test module.