aboutsummaryrefslogtreecommitdiff
path: root/python/compatibility_tests/v2.5.0/tests/__init__.py
diff options
context:
space:
mode:
authorJie Luo <jieluo@google.com>2017-01-18 16:26:22 -0800
committerJie Luo <jieluo@google.com>2017-01-23 15:05:19 -0800
commit140e28d12e5eee856cbe1cac3313399542ec7a5b (patch)
treed7fe02cec8c76f4d0e86ac1eb10e2a16300b6841 /python/compatibility_tests/v2.5.0/tests/__init__.py
parenteed9951991c6ee7c629b5c4252444c372f7774fd (diff)
downloadprotobuf-140e28d12e5eee856cbe1cac3313399542ec7a5b.tar.gz
protobuf-140e28d12e5eee856cbe1cac3313399542ec7a5b.tar.bz2
protobuf-140e28d12e5eee856cbe1cac3313399542ec7a5b.zip
Add python compatibility tests against v2.5.0: copy tests and proto files from v2.5.0
Diffstat (limited to 'python/compatibility_tests/v2.5.0/tests/__init__.py')
-rw-r--r--python/compatibility_tests/v2.5.0/tests/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/compatibility_tests/v2.5.0/tests/__init__.py b/python/compatibility_tests/v2.5.0/tests/__init__.py
new file mode 100644
index 00000000..55856141
--- /dev/null
+++ b/python/compatibility_tests/v2.5.0/tests/__init__.py
@@ -0,0 +1,4 @@
+try:
+ __import__('pkg_resources').declare_namespace(__name__)
+except ImportError:
+ __path__ = __import__('pkgutil').extend_path(__path__, __name__)