test(warnings-recorder): Add another warning
This commit is contained in:
parent
8ac3c645fa
commit
2706271f66
|
@ -44,7 +44,11 @@ class TestSubclassWarningPop:
|
|||
class ChildWarning(ParentWarning):
|
||||
pass
|
||||
|
||||
class RandomWarning(Warning):
|
||||
pass
|
||||
|
||||
def raise_warnings(self):
|
||||
warnings.warn("Warning Random", self.RandomWarning)
|
||||
warnings.warn("Warning Child", self.ChildWarning)
|
||||
warnings.warn("Warning Parent", self.ParentWarning)
|
||||
|
||||
|
|
Loading…
Reference in New Issue