Browse Source

Change test to import pyext._message

Bo Yang 7 years ago
parent
commit
b3fb0079d6
2 changed files with 2 additions and 2 deletions
  1. 1 1
      appveyor.yml
  2. 1 1
      config.sh

+ 1 - 1
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:

+ 1 - 1
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;"
 }