aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Yang <paulyang1211@gmail.com>2018-03-15 12:04:12 -0700
committerBo Yang <paulyang1211@gmail.com>2018-03-15 12:26:42 -0700
commitb3fb0079d688a16af207ea6d256ae29454a4b65a (patch)
treeceed2ab69b319825f187d68bbe13d96465555ce2
parent8b286ccd1b17ec8224c232947d5c1890429c15c0 (diff)
downloadprotobuf-b3fb0079d688a16af207ea6d256ae29454a4b65a.tar.gz
protobuf-b3fb0079d688a16af207ea6d256ae29454a4b65a.tar.bz2
protobuf-b3fb0079d688a16af207ea6d256ae29454a4b65a.zip
Change test to import pyext._message
-rw-r--r--appveyor.yml2
-rw-r--r--config.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml
index b52be319..9c185e80 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -126,7 +126,7 @@ test_script:
- mkdir for_testing
- cd for_testing
- python --version
- - python -c "import google.protobuf;"
+ - python -c "from google.protobuf.pyext import _message;"
- cd ..
artifacts:
diff --git a/config.sh b/config.sh
index 55c5adfe..9d9e7483 100644
--- a/config.sh
+++ b/config.sh
@@ -53,5 +53,5 @@ function build_wheel {
function run_tests {
# Runs tests on installed distribution from an empty directory
python --version
- python -c "import google.protobuf;"
+ python -c "from google.protobuf.pyext import _message;"
}