Skip to content

Commit

Permalink
Skip Node.js parity testing on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kvz committed Nov 26, 2024
1 parent 65d5f90 commit 5408636
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from unittest import mock
import json
import os
import platform
import subprocess
import time
from pathlib import Path
Expand All @@ -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:
Expand Down

0 comments on commit 5408636

Please sign in to comment.