فهرست منبع

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