diff options
author | siddharthshukla <siddharthshukla@outlook.com> | 2016-08-08 22:46:50 +0200 |
---|---|---|
committer | siddharthshukla <siddharthshukla@outlook.com> | 2016-08-09 02:14:04 +0200 |
commit | f0f58e68738abbc317f7f449c5104f7fbbff26bd (patch) | |
tree | 8d4c2f86ce24200f3053d0093276b9ee8f911281 /src/python/grpcio_tests | |
parent | f14effb6e421601639ef9a293f3f9b55a51e87ed (diff) |
skip test run if running with pypy
don't run cygrpc_test.TypeSmokeTest.testCallCredentialsFromPluginUpdown
if the interpreter is PyPy
Diffstat (limited to 'src/python/grpcio_tests')
-rw-r--r-- | src/python/grpcio_tests/tests/unit/_cython/cygrpc_test.py | 4 |
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) |