瀏覽代碼

Change test to import pyext._message

Bo Yang 7 年之前
父節點
當前提交
b3fb0079d6
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      appveyor.yml
  2. 1 1
      config.sh

+ 1 - 1
appveyor.yml

@@ -126,7 +126,7 @@ test_script:
     - mkdir for_testing
     - mkdir for_testing
     - cd for_testing
     - cd for_testing
     - python --version
     - python --version
-    - python -c "import google.protobuf;"
+    - python -c "from google.protobuf.pyext import _message;"
     - cd ..
     - cd ..
 
 
 artifacts:
 artifacts:

+ 1 - 1
config.sh

@@ -53,5 +53,5 @@ function build_wheel {
 function run_tests {
 function run_tests {
     # Runs tests on installed distribution from an empty directory
     # Runs tests on installed distribution from an empty directory
     python --version
     python --version
-    python -c "import google.protobuf;"
+    python -c "from google.protobuf.pyext import _message;"
 }
 }