Verify Python version >= 2.6 before running context manager test