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 460725e commit a4cf579Copy full SHA for a4cf579
Lib/test/test_pyexpat.py
@@ -441,7 +441,7 @@ def test_change_character_data_handler_in_callback(self):
441
def handler(*args):
442
parser.CharacterDataHandler = None
443
444
- handler_wrapper = unittest.mock.Mock(wraps=handler)
+ handler_wrapper = mock.Mock(wraps=handler)
445
parser = expat.ParserCreate()
446
parser.CharacterDataHandler = handler_wrapper
447
parser.Parse(b"<a>1<b/>2<c></c>3<!--abc-->4<!--def-->5</a> ", True)
0 commit comments