Commit 47fc7a69 authored by Kai Chen's avatar Kai Chen
Browse files

fix unit test

parent b98980b7
...@@ -15,7 +15,7 @@ def test_is_filepath(): ...@@ -15,7 +15,7 @@ def test_is_filepath():
def test_fopen(): def test_fopen():
assert hasattr(mmcv.fopen(__file__), 'read') assert hasattr(mmcv.fopen(__file__), 'read')
assert hasattr(Path(__file__), 'read') assert hasattr(mmcv.fopen(Path(__file__)), 'read')
def test_check_file_exist(): def test_check_file_exist():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment