<s> from twisted . trial import unittest <EOL> import ooni . errors <EOL> class TestErrors ( unittest . TestCase ) : <EOL> def test_catch_child_failures_before_parent_failures ( self ) : <EOL> """<STR_LIT>""" <EOL> for index , ( failure , _ ) in enumerate ( ooni . errors . known_failures ) : <EOL> for sub_failure , _ in ooni . errors . known_failures [ index + <NUM_LIT:1> : ] : <EOL> self . assertNotIsInstance ( sub_failure ( None ) , failure ) </s>
