Skip to content

Commit d290872

Browse files
committed
Fix import in tests
1 parent 4ea7f02 commit d290872

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/test_base.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
import benchmark
2-
import benchmark.base
1+
import deeplabcut.benchmark
2+
import deeplabcut.benchmark.base
33

44
def test_result():
5-
result = benchmark.base.Result("foo", "bar")
5+
result = deeplabcut.benchmark.base.Result("foo", "bar")
66
restored = result.fromdict(result.todict())
77
assert restored == result
8-
assert result.benchmark_version == benchmark.__version__
8+
assert result.benchmark_version == deeplabcut.__version__
99

1010
def test_collection():
1111

12-
collection = benchmark.base.ResultCollection()
12+
collection = deeplabcut.benchmark.base.ResultCollection()
1313

14-
result1 = benchmark.base.Result("foo", "bar", root_mean_squared_error=42)
15-
result2 = benchmark.base.Result("foo", "baz")
16-
result_dup = benchmark.base.Result("foo", "bar", root_mean_squared_error=43)
14+
result1 = deeplabcut.benchmark.base.Result("foo", "bar", root_mean_squared_error=42)
15+
result2 = deeplabcut.benchmark.base.Result("foo", "baz")
16+
result_dup = deeplabcut.benchmark.base.Result("foo", "bar", root_mean_squared_error=43)
1717

1818
assert len(collection) == 0
1919
collection.add(result1)

0 commit comments

Comments
 (0)