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)
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life! Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant
0 commit comments