Newline for flake8
This commit is contained in:
parent
0bd8159b60
commit
7930a8373d
|
@ -248,6 +248,7 @@ class TestWarns(object):
|
||||||
assert str(record[1].message) == "runtime"
|
assert str(record[1].message) == "runtime"
|
||||||
|
|
||||||
class MyUserWarning(UserWarning): pass
|
class MyUserWarning(UserWarning): pass
|
||||||
|
|
||||||
class MyRuntimeWarning(RuntimeWarning): pass
|
class MyRuntimeWarning(RuntimeWarning): pass
|
||||||
|
|
||||||
with pytest.warns((UserWarning, RuntimeWarning)) as record:
|
with pytest.warns((UserWarning, RuntimeWarning)) as record:
|
||||||
|
|
Loading…
Reference in New Issue