()
| 816 | after_filters = sys.modules['warnings'].filters |
| 817 | |
| 818 | def no_warnings(): |
| 819 | with assert_no_warnings(): |
| 820 | warnings.warn("yo") |
| 821 | |
| 822 | assert_raises(AssertionError, no_warnings) |
| 823 | assert_equal(before_filters, after_filters, |
nothing calls this directly
no test coverage detected