diff options
Diffstat (limited to 'Lib/test/multibytecodec_support.py')
| -rw-r--r-- | Lib/test/multibytecodec_support.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/multibytecodec_support.py b/Lib/test/multibytecodec_support.py index 813b7aa..cca8af6 100644 --- a/Lib/test/multibytecodec_support.py +++ b/Lib/test/multibytecodec_support.py @@ -277,6 +277,11 @@ class TestBase: writer = self.writer(stream) writer.reset() + def test_incrementalencoder_del_segfault(self): + e = self.incrementalencoder() + with self.assertRaises(AttributeError): + del e.errors + class TestBase_Mapping(unittest.TestCase): pass_enctest = [] |
