Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMCV
Commits
47fc7a69
Commit
47fc7a69
authored
Oct 07, 2018
by
Kai Chen
Browse files
fix unit test
parent
b98980b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/test_path.py
tests/test_path.py
+1
-1
No files found.
tests/test_path.py
View file @
47fc7a69
...
@@ -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
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment