use unittest.skipIf to skip tests invalid on PY3