Module Expr Str Import alias ImportFrom alias Import alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str Str Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str Str Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str Str Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str Str Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str Str Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str Str Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str Str Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list
N/A N/A Tests for TAP2SubUnit. N/A unittest testtools.compat StringIO N/A subunit TestTAP2SubUnit N/A N/A unittest TestCase N/A N/A Tests for TAP2SubUnit.

    These tests test TAP string data in, and subunit string data out.
    This is ok because the subunit protocol is intended to be stable,
    but it might be easier/pithier to write tests against TAP string in,
    parsed subunit objects out (by hooking the subunit stream to a subunit
    protocol server.
     setUp N/A N/A self N/A N/A N/A N/A self tap N/A StringIO N/A N/A self subunit N/A StringIO N/A test_skip_entire_file N/A N/A self N/A N/A N/A N/A N/A N/A self tap write 1..0 # Skipped: entire file skipped
 N/A N/A N/A N/A self tap seek 0 N/A result N/A N/A subunit TAP2SubUnit N/A self tap N/A self subunit N/A N/A N/A self assertEqual 0 result N/A N/A N/A self assertEqual N/A test file skip skip file skip [ Skipped: entire file skipped ] N/A N/A N/A N/A N/A self subunit getvalue splitlines N/A test_ok_test_pass N/A N/A self N/A N/A N/A N/A N/A N/A self tap write ok
 N/A N/A N/A N/A self tap seek 0 N/A result N/A N/A subunit TAP2SubUnit N/A self tap N/A self subunit N/A N/A N/A self assertEqual 0 result N/A N/A N/A self assertEqual N/A test test 1 success test 1 N/A N/A N/A N/A N/A self subunit getvalue splitlines N/A test_ok_test_number_pass N/A N/A self N/A N/A N/A N/A N/A N/A self tap write ok 1
 N/A N/A N/A N/A self tap seek 0 N/A result N/A N/A subunit TAP2SubUnit N/A self tap N/A self subunit N/A N/A N/A self assertEqual 0 result N/A N/A N/A self assertEqual N/A test test 1 success test 1 N/A N/A N/A N/A N/A self subunit getvalue splitlines N/A test_ok_test_number_description_pass N/A N/A self N/A N/A N/A N/A N/A N/A self tap write ok 1 - There is a description
 N/A N/A N/A N/A self tap seek 0 N/A result N/A N/A subunit TAP2SubUnit N/A self tap N/A self subunit N/A N/A N/A self assertEqual 0 result N/A N/A N/A self assertEqual N/A test test 1 - There is a description success test 1 - There is a description N/A N/A N/A N/A N/A self subunit getvalue splitlines N/A test_ok_test_description_pass N/A N/A self N/A N/A N/A N/A N/A N/A self tap write ok There is a description
 N/A N/A N/A N/A self tap seek 0 N/A result N/A N/A subunit TAP2SubUnit N/A self tap N/A self subunit N/A N/A N/A self assertEqual 0 result N/A N/A N/A self assertEqual N/A test test 1 There is a description success test 1 There is a description N/A N/A N/A N/A N/A self subunit getvalue splitlines N/A test_ok_SKIP_skip N/A N/A self N/A N/A N/A N/A N/A N/A self tap write ok # SKIP
 N/A N/A N/A N/A self tap seek 0 N/A result N/A N/A subunit TAP2SubUnit N/A self tap N/A self subunit N/A N/A N/A self assertEqual 0 result N/A N/A N/A self assertEqual N/A test test 1 skip test 1 N/A N/A N/A N/A N/A self subunit getvalue splitlines N/A test_ok_skip_number_comment_lowercase N/A N/A self N/A N/A N/A N/A N/A N/A self tap write ok 1 # skip no samba environment available, skipping compilation
 N/A N/A N/A N/A self tap seek 0 N/A result N/A N/A subunit TAP2SubUnit N/A self tap N/A self subunit N/A N/A N/A self assertEqual 0 result N/A N/A N/A self assertEqual N/A test test 1 skip test 1 [ no samba environment available, skipping compilation ] N/A N/A N/A N/A N/A self subunit getvalue splitlines N/A test_ok_number_description_SKIP_skip_comment N/A N/A self N/A N/A N/A N/A N/A N/A self tap write ok 1 foo  # SKIP Not done yet
 N/A N/A N/A N/A self tap seek 0 N/A result N/A N/A subunit TAP2SubUnit N/A self tap N/A self subunit N/A N/A N/A self assertEqual 0 result N/A N/A N/A self assertEqual N/A test test 1 foo skip test 1 foo [ Not done yet ] N/A N/A N/A N/A N/A self subunit getvalue splitlines N/A test_ok_SKIP_skip_comment N/A N/A self N/A N/A N/A N/A N/A N/A self tap write ok # SKIP Not done yet
 N/A N/A N/A N/A self tap seek 0 N/A result N/A N/A subunit TAP2SubUnit N/A self tap N/A self subunit N/A N/A N/A self assertEqual 0 result N/A N/A N/A self assertEqual N/A test test 1 skip test 1 [ Not done yet ] N/A N/A N/A N/A N/A self subunit getvalue splitlines N/A test_ok_TODO_xfail N/A N/A self N/A N/A N/A N/A N/A N/A self tap write ok # TODO
 N/A N/A N/A N/A self tap seek 0 N/A result N/A N/A subunit TAP2SubUnit N/A self tap N/A self subunit N/A N/A N/A self assertEqual 0 result N/A N/A N/A self assertEqual N/A test test 1 xfail test 1 N/A N/A N/A N/A N/A self subunit getvalue splitlines N/A test_ok_TODO_xfail_comment N/A N/A self N/A N/A N/A N/A N/A N/A self tap write ok # TODO Not done yet
 N/A N/A N/A N/A self tap seek 0 N/A result N/A N/A subunit TAP2SubUnit N/A self tap N/A self subunit N/A N/A N/A self assertEqual 0 result N/A N/A N/A self assertEqual N/A test test 1 xfail test 1 [ Not done yet ] N/A N/A N/A N/A N/A self subunit getvalue splitlines N/A test_bail_out_errors N/A N/A self N/A N/A N/A N/A N/A N/A self tap write ok 1 foo
 N/A N/A N/A N/A self tap write Bail out! Lifejacket engaged
 N/A N/A N/A N/A self tap seek 0 N/A result N/A N/A subunit TAP2SubUnit N/A self tap N/A self subunit N/A N/A N/A self assertEqual 0 result N/A N/A N/A self assertEqual N/A test test 1 foo success test 1 foo test Bail out! Lifejacket engaged error Bail out! Lifejacket engaged N/A N/A N/A N/A N/A self subunit getvalue splitlines N/A test_missing_test_at_end_with_plan_adds_error N/A N/A self N/A N/A N/A N/A N/A N/A self tap write 1..3
 N/A N/A N/A N/A self tap write ok first test
 N/A N/A N/A N/A self tap write not ok second test
 N/A N/A N/A N/A self tap seek 0 N/A result N/A N/A subunit TAP2SubUnit N/A self tap N/A self subunit N/A N/A N/A self assertEqual 0 result N/A N/A N/A self assertEqual N/A test test 1 first test success test 1 first test test test 2 second test failure test 2 second test test test 3 error test 3 [ test missing from TAP output ] N/A N/A N/A N/A N/A self subunit getvalue splitlines N/A test_missing_test_with_plan_adds_error N/A N/A self N/A N/A N/A N/A N/A N/A self tap write 1..3
 N/A N/A N/A N/A self tap write ok first test
 N/A N/A N/A N/A self tap write not ok 3 third test
 N/A N/A N/A N/A self tap seek 0 N/A result N/A N/A subunit TAP2SubUnit N/A self tap N/A self subunit N/A N/A N/A self assertEqual 0 result N/A N/A N/A self assertEqual N/A test test 1 first test success test 1 first test test test 2 error test 2 [ test missing from TAP output ] test test 3 third test failure test 3 third test N/A N/A N/A N/A N/A self subunit getvalue splitlines N/A test_missing_test_no_plan_adds_error N/A N/A self N/A N/A N/A N/A N/A N/A self tap write ok first test
 N/A N/A N/A N/A self tap write not ok 3 third test
 N/A N/A N/A N/A self tap seek 0 N/A result N/A N/A subunit TAP2SubUnit N/A self tap N/A self subunit N/A N/A N/A self assertEqual 0 result N/A N/A N/A self assertEqual N/A test test 1 first test success test 1 first test test test 2 error test 2 [ test missing from TAP output ] test test 3 third test failure test 3 third test N/A N/A N/A N/A N/A self subunit getvalue splitlines N/A test_four_tests_in_a_row_trailing_plan N/A N/A self N/A N/A N/A N/A N/A N/A self tap write ok 1 - first test in a script with trailing plan
 N/A N/A N/A N/A self tap write not ok 2 - second
 N/A N/A N/A N/A self tap write ok 3 - third
 N/A N/A N/A N/A self tap write not ok 4 - fourth
 N/A N/A N/A N/A self tap write 1..4
 N/A N/A N/A N/A self tap seek 0 N/A result N/A N/A subunit TAP2SubUnit N/A self tap N/A self subunit N/A N/A N/A self assertEqual 0 result N/A N/A N/A self assertEqual N/A test test 1 - first test in a script with trailing plan success test 1 - first test in a script with trailing plan test test 2 - second failure test 2 - second test test 3 - third success test 3 - third test test 4 - fourth failure test 4 - fourth N/A N/A N/A N/A N/A self subunit getvalue splitlines N/A test_four_tests_in_a_row_with_plan N/A N/A self N/A N/A N/A N/A N/A N/A self tap write 1..4
 N/A N/A N/A N/A self tap write ok 1 - first test in a script with a plan
 N/A N/A N/A N/A self tap write not ok 2 - second
 N/A N/A N/A N/A self tap write ok 3 - third
 N/A N/A N/A N/A self tap write not ok 4 - fourth
 N/A N/A N/A N/A self tap seek 0 N/A result N/A N/A subunit TAP2SubUnit N/A self tap N/A self subunit N/A N/A N/A self assertEqual 0 result N/A N/A N/A self assertEqual N/A test test 1 - first test in a script with a plan success test 1 - first test in a script with a plan test test 2 - second failure test 2 - second test test 3 - third success test 3 - third test test 4 - fourth failure test 4 - fourth N/A N/A N/A N/A N/A self subunit getvalue splitlines N/A test_four_tests_in_a_row_no_plan N/A N/A self N/A N/A N/A N/A N/A N/A self tap write ok 1 - first test in a script with no plan at all
 N/A N/A N/A N/A self tap write not ok 2 - second
 N/A N/A N/A N/A self tap write ok 3 - third
 N/A N/A N/A N/A self tap write not ok 4 - fourth
 N/A N/A N/A N/A self tap seek 0 N/A result N/A N/A subunit TAP2SubUnit N/A self tap N/A self subunit N/A N/A N/A self assertEqual 0 result N/A N/A N/A self assertEqual N/A test test 1 - first test in a script with no plan at all success test 1 - first test in a script with no plan at all test test 2 - second failure test 2 - second test test 3 - third success test 3 - third test test 4 - fourth failure test 4 - fourth N/A N/A N/A N/A N/A self subunit getvalue splitlines N/A test_todo_and_skip N/A N/A self N/A N/A N/A N/A N/A N/A self tap write not ok 1 - a fail but # TODO but is TODO
 N/A N/A N/A N/A self tap write not ok 2 - another fail # SKIP instead
 N/A N/A N/A N/A self tap seek 0 N/A result N/A N/A subunit TAP2SubUnit N/A self tap N/A self subunit N/A N/A N/A self assertEqual 0 result N/A N/A N/A self assertEqual N/A test test 1 - a fail but xfail test 1 - a fail but [ but is TODO ] test test 2 - another fail skip test 2 - another fail [ instead ] N/A N/A N/A N/A N/A self subunit getvalue splitlines N/A test_leading_comments_add_to_next_test_log N/A N/A self N/A N/A N/A N/A N/A N/A self tap write # comment
 N/A N/A N/A N/A self tap write ok
 N/A N/A N/A N/A self tap write ok
 N/A N/A N/A N/A self tap seek 0 N/A result N/A N/A subunit TAP2SubUnit N/A self tap N/A self subunit N/A N/A N/A self assertEqual 0 result N/A N/A N/A self assertEqual N/A test test 1 success test 1 [ # comment ] test test 2 success test 2 N/A N/A N/A N/A N/A self subunit getvalue splitlines N/A test_trailing_comments_are_included_in_last_test_log N/A N/A self N/A N/A N/A N/A N/A N/A self tap write ok
 N/A N/A N/A N/A self tap write ok
 N/A N/A N/A N/A self tap write # comment
 N/A N/A N/A N/A self tap seek 0 N/A result N/A N/A subunit TAP2SubUnit N/A self tap N/A self subunit N/A N/A N/A self assertEqual 0 result N/A N/A N/A self assertEqual N/A test test 1 success test 1 test test 2 success test 2 [ # comment ] N/A N/A N/A N/A N/A self subunit getvalue splitlines N/A N/A test_suite N/A N/A N/A N/A N/A loader N/A N/A N/A N/A subunit tests TestUtil TestLoader N/A result N/A N/A loader loadTestsFromName __name__ N/A result N/A