pyflakes fix

This commit is contained in:
Demian Brecht 2015-10-02 13:03:43 -07:00
parent fd211bf490
commit 2981bece55
1 changed files with 1 additions and 1 deletions

View File

@ -1214,7 +1214,7 @@ def raises(expected_exception, *args, **kwargs):
assert 1 == 1 # this will execute as expected
raise OSError(errno.EEXISTS, 'directory exists')
assert err.errno = errno.EEXISTS # this will now execute
assert err.errno = errno.EEXISTS # this will now execute
Or you can specify a callable by passing a to-be-called lambda::