def test_non_existing_unknown_ext():
 with pytest.raises(IOError):
  data = Table.read(u'non-existing-file-with-unknown.ext')

def test_non_existing_unknown_ext ( ) : with pytest . raises ( IOError ) : data = Table . read ( u'non-existing-file-with-unknown.ext' )
raise the correct error when attempting to read a non-existing file with an unknown extension .