"examples/deprecated_api/docker/Dockerfile" did not exist on "b78b5ea501acedde19caf6ed809c09d3e58726eb"
Commit 852e980e authored by Kai Chen's avatar Kai Chen
Browse files

ignore a flake8 error

parent 5a372d05
...@@ -8,7 +8,7 @@ import pytest ...@@ -8,7 +8,7 @@ import pytest
def test_check_file_exist(): def test_check_file_exist():
mmcv.check_file_exist(__file__) mmcv.check_file_exist(__file__)
if sys.version_info > (3, 3): if sys.version_info > (3, 3):
with pytest.raises(FileNotFoundError): with pytest.raises(FileNotFoundError): # noqa
mmcv.check_file_exist('no_such_file.txt') mmcv.check_file_exist('no_such_file.txt')
else: else:
with pytest.raises(IOError): with pytest.raises(IOError):
......
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