@@ -187,7 +187,7 @@ def test_billion_laughs_allowed_by_default():
187
187
188
188
@staticmethod
189
189
@expects_timeout
190
- def test_quardratic_blowup_allowed_by_default ():
190
+ def test_quadratic_blowup_allowed_by_default ():
191
191
parser = xml .sax .make_parser ()
192
192
parser .parse (StringIO (quadratic_blowup ))
193
193
@@ -263,7 +263,7 @@ def test_billion_laughs_allowed_by_default():
263
263
264
264
@staticmethod
265
265
@expects_timeout
266
- def test_quardratic_blowup_allowed_by_default ():
266
+ def test_quadratic_blowup_allowed_by_default ():
267
267
parser = xml .etree .ElementTree .XMLParser ()
268
268
_root = xml .etree .ElementTree .fromstring (quadratic_blowup , parser = parser )
269
269
@@ -324,7 +324,7 @@ def test_billion_laughs_disabled_by_default():
324
324
assert "Detected an entity reference loop" in str (e )
325
325
326
326
@staticmethod
327
- def test_quardratic_blowup_disabled_by_default ():
327
+ def test_quadratic_blowup_disabled_by_default ():
328
328
parser = lxml .etree .XMLParser ()
329
329
try :
330
330
_root = lxml .etree .fromstring (quadratic_blowup , parser = parser )
@@ -465,7 +465,7 @@ def test_billion_laughs_disabled_by_default():
465
465
assert d == {"lolz" : None }, d
466
466
467
467
@staticmethod
468
- def test_quardratic_blowup_disabled_by_default ():
468
+ def test_quadratic_blowup_disabled_by_default ():
469
469
d = xmltodict .parse (quadratic_blowup )
470
470
assert d == {"foo" : None }, d
471
471
@@ -476,7 +476,7 @@ def test_billion_laughs_manually_enabled():
476
476
477
477
@staticmethod
478
478
@expects_timeout
479
- def test_quardratic_blowup_manually_enabled ():
479
+ def test_quadratic_blowup_manually_enabled ():
480
480
xmltodict .parse (quadratic_blowup , disable_entities = False )
481
481
482
482
@staticmethod
@@ -524,7 +524,7 @@ def test_billion_laughs():
524
524
525
525
@staticmethod
526
526
@expects_timeout
527
- def test_quardratic_blowup ():
527
+ def test_quadratic_blowup ():
528
528
xml .dom .minidom .parseString (quadratic_blowup )
529
529
530
530
@staticmethod
@@ -585,7 +585,7 @@ def test_billion_laughs():
585
585
586
586
@staticmethod
587
587
@expects_timeout
588
- def test_quardratic_blowup ():
588
+ def test_quadratic_blowup ():
589
589
doc = xml .dom .pulldom .parseString (quadratic_blowup )
590
590
for event , node in doc :
591
591
pass
@@ -670,7 +670,7 @@ def test_billion_laughs():
670
670
671
671
@staticmethod
672
672
@expects_timeout
673
- def test_quardratic_blowup ():
673
+ def test_quadratic_blowup ():
674
674
parser = xml .parsers .expat .ParserCreate ()
675
675
parser .Parse (quadratic_blowup , True )
676
676
0 commit comments