Skip to content

Commit da02fde

Browse files
committed
fix comments
1 parent 0b00798 commit da02fde

4 files changed

Lines changed: 2 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ profile = "black"
1010
skip_glob = '**/lcmtypes/**'
1111

1212
[tool.pytest.ini_options]
13-
# 指定测试搜索路径(避免扫到脚本目录等)
1413
testpaths = [
1514
"tests"
1615
]

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def tmp_cfg(tmp_path):
88
return p
99

1010

11-
# 按需全局 hook(例:缺 GPU 时自动跳过 gpu 标记)
11+
# global hook: skip mark
1212
def pytest_runtest_setup(item):
1313
if "gpu" in item.keywords:
1414
try:

tests/unit_test/test_basic.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ def test_sin(x, expected):
1818

1919
@pytest.mark.slow
2020
def test_slow_example():
21-
# 假装这里很慢
2221
assert sum(range(10000)) > 0
2322

2423

tests/unit_test/test_evaluator_unit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import numpy as np
22
import pytest
33

4-
from internnav.evaluator.vln_pe_evaluator import transform_action_batch # 按你的真实模块路径改
4+
from internnav.evaluator.vln_pe_evaluator import transform_action_batch
55

66

77
@pytest.mark.slow

0 commit comments

Comments
 (0)