There was an error while loading. Please reload this page.
1 parent f234a04 commit 9d91209Copy full SHA for 9d91209
codeflash/tracer.py
@@ -103,6 +103,11 @@ def main(args: Namespace | None = None) -> ArgumentParser:
103
replay_test_paths = []
104
if parsed_args.module and unknown_args[0] == "pytest":
105
pytest_splits, test_paths = pytest_split(unknown_args[1:])
106
+ if pytest_splits is None or test_paths is None:
107
+ console.print(f"❌ Could not find test files in the specified paths: {unknown_args[1:]}")
108
+ console.print(f"Current working directory: {Path.cwd()}")
109
+ console.print("Please ensure the test directory exists and contains test files.")
110
+ sys.exit(1)
111
112
if len(pytest_splits) > 1:
113
processes = []
0 commit comments