Commit 852e980e authored by Kai Chen's avatar Kai Chen
Browse files

ignore a flake8 error

parent 5a372d05
......@@ -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):
......
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