Skip to content

Commit 629b192

Browse files
Skip testing profiling for 3.14 runtime
1 parent 782d444 commit 629b192

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_wrapper.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import os
44
import unittest
55
import importlib
6+
import sys
67

78
from unittest.mock import MagicMock, patch, call, ANY
89
from datadog_lambda.constants import TraceHeader
@@ -835,6 +836,9 @@ def lambda_handler(event, context):
835836

836837
@patch("datadog_lambda.config.Config.profiling_enabled", True)
837838
def test_profiling_enabled(monkeypatch):
839+
if sys.version_info >= (3, 14, 0):
840+
return
841+
838842
importlib.reload(wrapper)
839843

840844
original_Profiler_start = wrapper.profiler.Profiler.start

0 commit comments

Comments
 (0)