test-check-py3-compat: don't run py3 part if not build against python3
This test depends on C extensions built for python3, which aren't available
if run-tests.py runs on python2 and no -l/--local is specified.
from __future__ import absolute_importimport pkgutil__path__ = pkgutil.extend_path(__path__, __name__)