From 41ce4428032ecf46a8284250e24c0396afbd60bc Mon Sep 17 00:00:00 2001 From: Galaxy1458 <55453380+Galaxy1458@users.noreply.github.com> Date: Thu, 2 Jan 2025 16:06:09 +0800 Subject: [PATCH] [Fix bug] fix unittest bug (#386) * fix bug * fix test bug --- tests/test_named_ops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_named_ops.py b/tests/test_named_ops.py index 94f4a40b..1f8b451c 100644 --- a/tests/test_named_ops.py +++ b/tests/test_named_ops.py @@ -238,7 +238,7 @@ for ut in uts: cmd = f"{file_name}::{ut}" print(cmd) - result = pytest.main(["-s", cmd, "--device", device]) + result = pytest.main(["-s", cmd, "--ref", device]) final_result += result print("final_result: ", final_result) exit(final_result)