aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python
diff options
context:
space:
mode:
authorGravatar kpayson64 <kpayson@google.com>2016-08-15 11:01:17 -0700
committerGravatar GitHub <noreply@github.com>2016-08-15 11:01:17 -0700
commit8aff34f50082874dae880c753b1bb800a005df43 (patch)
tree3e7b6ea9656d9a0a1562599df80306b3533f88c8 /src/python
parentb6528c59a9a87ae5926ac9e4a11226a4ce490b36 (diff)
parentf0f58e68738abbc317f7f449c5104f7fbbff26bd (diff)
Merge pull request #7668 from thunderboltsid/skip-test-for-pypy
skip test run if pypy
Diffstat (limited to 'src/python')
-rw-r--r--src/python/grpcio_tests/tests/unit/_cython/cygrpc_test.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/python/grpcio_tests/tests/unit/_cython/cygrpc_test.py b/src/python/grpcio_tests/tests/unit/_cython/cygrpc_test.py
index f9a8e2401b..2f50263730 100644
--- a/src/python/grpcio_tests/tests/unit/_cython/cygrpc_test.py
+++ b/src/python/grpcio_tests/tests/unit/_cython/cygrpc_test.py
@@ -30,6 +30,7 @@
import time
import threading
import unittest
+import platform
from grpc._cython import cygrpc
from tests.unit._cython import test_utilities
@@ -113,6 +114,9 @@ class TypeSmokeTest(unittest.TestCase):
lambda ignored_a, ignored_b: None, b'')
del plugin
+ @unittest.skipIf(
+ platform.python_implementation() == "PyPy",
+ 'TODO(issue 7672): figure out why this fails on PyPy')
def testCallCredentialsFromPluginUpDown(self):
plugin = cygrpc.CredentialsMetadataPlugin(_metadata_plugin_callback, b'')
call_credentials = cygrpc.call_credentials_metadata_plugin(plugin)