Skip to content

Commit c39f180

Browse files
committed
Skip aws lambda tests on windows
1 parent dded05d commit c39f180

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/contrib/serverless/aws_tests.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,15 @@
3232

3333
import json
3434
import os
35+
import platform
3536
import time
3637

3738
from elasticapm import capture_span
3839
from elasticapm.conf import constants
3940
from elasticapm.contrib.serverless.aws import capture_serverless, get_data_from_request, get_data_from_response
4041

42+
pytestmark = pytest.mark.skipif(platform.system() == "Windows", reason="AWS Lambda does not support Windows")
43+
4144

4245
@pytest.fixture
4346
def event_api():

0 commit comments

Comments
 (0)