Newline for flake8

This commit is contained in:
Loïc Estève 2016-12-29 10:18:33 +01:00 committed by Bruno Oliveira
parent 0bd8159b60
commit 7930a8373d
1 changed files with 1 additions and 0 deletions

View File

@ -248,6 +248,7 @@ class TestWarns(object):
assert str(record[1].message) == "runtime"
class MyUserWarning(UserWarning): pass
class MyRuntimeWarning(RuntimeWarning): pass
with pytest.warns((UserWarning, RuntimeWarning)) as record: