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
852e980e
Commit
852e980e
authored
Oct 04, 2018
by
Kai Chen
Browse files
ignore a flake8 error
parent
5a372d05
Changes
1
Show 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 @
852e980e
...
...
@@ -8,7 +8,7 @@ import pytest
def
test_check_file_exist
():
mmcv
.
check_file_exist
(
__file__
)
if
sys
.
version_info
>
(
3
,
3
):
with
pytest
.
raises
(
FileNotFoundError
):
with
pytest
.
raises
(
FileNotFoundError
):
# noqa
mmcv
.
check_file_exist
(
'no_such_file.txt'
)
else
:
with
pytest
.
raises
(
IOError
):
...
...
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