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.
/gwpy/tests/compat.py
unittest2
unittest