File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
exporter/opentelemetry-exporter-credential-provider-gcp Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 11OpenTelemetry GCP Credential Provider for OTLP Exporters
2- ==============================================
2+ ========================================================
33
44.. image :: https://badge.fury.io/py/opentelemetry-exporter-credential-provider-gcp.svg
55 :target: https://badge.fury.io/py/opentelemetry-exporter-credential-provider-gcp
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414from os import environ
15+ from platform import python_implementation
1516from unittest import TestCase
1617from unittest .mock import MagicMock , patch
1718
1819from google .auth .transport .requests import AuthorizedSession
20+ from pytest import mark
1921
2022from opentelemetry .exporter .otlp .proto .http .trace_exporter import (
2123 OTLPSpanExporter ,
@@ -37,6 +39,9 @@ class TestOTLPTraceAutoInstrumentGcpCredential(TestCase):
3739 _OTEL_PYTHON_EXPORTER_OTLP_GRPC_TRACES_CREDENTIAL_PROVIDER : "gcp_grpc_credentials" ,
3840 },
3941 )
42+ @mark .skipif (
43+ python_implementation () == "PyPy" , reason = "Fails randomly in pypy"
44+ )
4045 def test_loads_otlp_exporters_with_google_creds (
4146 self , mock_default : MagicMock
4247 ): # pylint: disable=no-self-use
You can’t perform that action at this time.
0 commit comments