* Added a couple tests for #404 Co-authored-by: Sylvain MARIE <sylvain.marie@se.com>
This commit is contained in:
9
testing/util.py
Normal file
9
testing/util.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import warnings
|
||||
|
||||
|
||||
class MyWarning2(UserWarning):
|
||||
pass
|
||||
|
||||
|
||||
def generate_warning():
|
||||
warnings.warn(MyWarning2("hello"))
|
||||
Reference in New Issue
Block a user