prevent DeprecationWarning for compiler package on python 2.7

nose2/util.py:14: DeprecationWarning: The compiler package is deprecated
and removed in Python 3.x.

  from compiler.consts import CO_GENERATOR