(self)
| 179 | _bytes_sample_message.split(b'\n')) |
| 180 | |
| 181 | def test_add_StringIO_warns(self): |
| 182 | with self.assertWarns(DeprecationWarning): |
| 183 | key = self._box.add(io.StringIO(self._template % "0")) |
| 184 | self.assertEqual(self._box.get_string(key), self._template % "0") |
| 185 | |
| 186 | def test_add_nonascii_StringIO_raises(self): |
| 187 | with self.assertWarns(DeprecationWarning): |
nothing calls this directly
no test coverage detected