9 lines
289 B
Python
9 lines
289 B
Python
import subprocess
|
|
import sys
|
|
|
|
def pytest_sessionstart(session):
|
|
"""
|
|
Build the Rust extension module before running tests.
|
|
"""
|
|
print("Installing test dependencies...")
|
|
subprocess.check_call([sys.executable, "-m", "pip", "install", "-r", "test_requirements.txt"]) |