ignore a flake8 error

pull/14/head
Kai Chen 2018-10-04 20:36:29 +08:00
parent 5a372d0592
commit 852e980eac
1 changed files with 1 additions and 1 deletions

View File

@ -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):