Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a44efc commit 1549670Copy full SHA for 1549670
1 file changed
Lib/test/test_pyexpat.py
@@ -544,7 +544,7 @@ def handler(text):
544
parser = expat.ParserCreate()
545
parser.CharacterDataHandler = handler
546
547
- self.assertRaises(Exception, parser.Parse, xml.encode('iso8859'))
+ self.assertRaises(SpecificException, parser.Parse, xml.encode('iso8859'))
548
549
class ChardataBufferTest(unittest.TestCase):
550
"""
0 commit comments