rspec/rules/S5915/python/rule.adoc

24 lines
568 B
Plaintext
Raw Normal View History

== Why is this an issue?
include::../description.adoc[]
include::../noncompliant.adoc[]
include::../compliant.adoc[]
== Resources
* https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertRaises[Unittest: assertRaises]
* https://docs.pytest.org/en/stable/assert.html#assertions-about-expected-exceptions[Pytest: assertions about expected exceptions]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
include::../highlighting.adoc[]
endif::env-github,rspecator-view[]