commit | e239d23e8cc66605f548585ad4489a8f12fc070d | [log] [tgz] |
---|---|---|
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | Wed Dec 08 23:31:48 2010 +0000 |
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | Wed Dec 08 23:31:48 2010 +0000 |
tree | e165422c11006a4f3595742dd40a7a2095ef59ce | |
parent | 1b2bd3b348d7bb861ae8c92853e5058766ebff80 [diff] [blame] |
Issue #6697: Fixed instances of _PyUnicode_AsString() result not checked for NULL
diff --git a/Lib/test/test_pyexpat.py b/Lib/test/test_pyexpat.py index 5a193bb..5bb8c97 100644 --- a/Lib/test/test_pyexpat.py +++ b/Lib/test/test_pyexpat.py
@@ -203,6 +203,8 @@ operations = out.out self._verify_parse_output(operations) + # Issue #6697. + self.assertRaises(AttributeError, getattr, parser, '\uD800') def test_parse_file(self): # Try parsing a file