From 540863655dcf361fa7e2d8fa96d3b8a25fd187e2 Mon Sep 17 00:00:00 2001 From: Kevin van Zonneveld Date: Tue, 26 Nov 2024 14:44:16 +0100 Subject: [PATCH] Skip Node.js parity testing on Windows --- tests/test_client.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test_client.py b/tests/test_client.py index 9fa17c7..e334054 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -2,6 +2,7 @@ from unittest import mock import json import os +import platform import subprocess import time from pathlib import Path @@ -18,6 +19,11 @@ def get_expected_url(params): if os.getenv('TEST_NODE_PARITY') != '1': return None + # Skip Node.js parity testing on Windows + if platform.system() == 'Windows': + print('Skipping Node.js parity testing on Windows') + return None + # Check for tsx before trying to use it tsx_path = subprocess.run(['which', 'tsx'], capture_output=True) if tsx_path.returncode != 0: