(self)
| 36 | |
| 37 | # user warnings should always be printed |
| 38 | def test_warning(self): |
| 39 | warnings.warn('uw') |
| 40 | warnings.warn('uw') |
| 41 | warnings.warn('uw') |
| 42 | |
| 43 | # these warnings come from the same place; they will be printed |
| 44 | # only once by default or three times if the 'always' filter is used |