fname
stringlengths
63
176
rel_fname
stringclasses
706 values
line
int64
-1
4.5k
name
stringlengths
1
81
kind
stringclasses
2 values
category
stringclasses
2 values
info
stringlengths
0
77.9k
⌀
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
563
find_by_tag
ref
function
assert not tnode.find_by_tag(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
568
test_failure_verbose_message
def
function
def test_failure_verbose_message( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str ) -> None: pytester.makepyfile( """ import sys def test_fail(): assert 0, "An error" """ ) result, dom = run_and_p...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
571
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
578
run_and_parse
ref
function
result, dom = run_and_parse(family=xunit_family)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
579
find_first_by_tag
ref
function
node = dom.find_first_by_tag("testsuite")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
580
find_first_by_tag
ref
function
tnode = node.find_first_by_tag("testcase")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
581
find_first_by_tag
ref
function
fnode = tnode.find_first_by_tag("failure")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
582
assert_attr
ref
function
fnode.assert_attr(message="AssertionError: An error\nassert 0")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
585
test_failure_escape
def
function
def test_failure_escape( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str ) -> None: pytester.makepyfile( """ import pytest @pytest.mark.parametrize('arg1', "<&'", ids="<&'") def test_func(arg1): print(arg1) ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
588
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
597
run_and_parse
ref
function
result, dom = run_and_parse(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
601
find_first_by_tag
ref
function
node = dom.find_first_by_tag("testsuite")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
602
assert_attr
ref
function
node.assert_attr(failures=3, tests=3)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
606
find_nth_by_tag
ref
function
tnode = node.find_nth_by_tag("testcase", index)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
607
assert_attr
ref
function
tnode.assert_attr(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
610
find_first_by_tag
ref
function
sysout = tnode.find_first_by_tag("system-out")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
615
test_junit_prefixing
def
function
def test_junit_prefixing( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str ) -> None: pytester.makepyfile( """ def test_func(): assert 0 class TestHello(object): def test_hello(self): p...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
618
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
627
run_and_parse
ref
function
result, dom = run_and_parse("--junitprefix=xyz", family=xunit_family)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
629
find_first_by_tag
ref
function
node = dom.find_first_by_tag("testsuite")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
630
assert_attr
ref
function
node.assert_attr(failures=1, tests=2)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
631
find_first_by_tag
ref
function
tnode = node.find_first_by_tag("testcase")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
632
assert_attr
ref
class
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
633
find_nth_by_tag
ref
function
tnode = node.find_nth_by_tag("testcase", 1)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
634
assert_attr
ref
function
tnode.assert_attr(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
639
test_xfailure_function
def
function
def test_xfailure_function( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str ) -> None: pytester.makepyfile( """ import pytest def test_xfail(): pytest.xfail("42") """ ) result, dom = run_and_parse...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
642
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
649
run_and_parse
ref
function
result, dom = run_and_parse(family=xunit_family)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
651
find_first_by_tag
ref
function
node = dom.find_first_by_tag("testsuite")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
652
assert_attr
ref
function
node.assert_attr(skipped=1, tests=1)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
653
find_first_by_tag
ref
function
tnode = node.find_first_by_tag("testcase")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
654
assert_attr
ref
class
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
655
find_first_by_tag
ref
function
fnode = tnode.find_first_by_tag("skipped")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
656
assert_attr
ref
function
fnode.assert_attr(type="pytest.xfail", message="42")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
659
test_xfailure_marker
def
function
def test_xfailure_marker( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str ) -> None: pytester.makepyfile( """ import pytest @pytest.mark.xfail(reason="42") def test_xfail(): assert _False """ ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
662
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
670
run_and_parse
ref
function
result, dom = run_and_parse(family=xunit_family)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
672
find_first_by_tag
ref
function
node = dom.find_first_by_tag("testsuite")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
673
assert_attr
ref
function
node.assert_attr(skipped=1, tests=1)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
674
find_first_by_tag
ref
function
tnode = node.find_first_by_tag("testcase")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
675
assert_attr
ref
class
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
676
find_first_by_tag
ref
function
fnode = tnode.find_first_by_tag("skipped")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
677
assert_attr
ref
function
fnode.assert_attr(type="pytest.xfail", message="42")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
679
parametrize
ref
function
@pytest.mark.parametrize(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
682
test_xfail_captures_output_once
def
function
def test_xfail_captures_output_once( self, pytester: Pytester, junit_logging: str, run_and_parse: RunAndParse ) -> None: pytester.makepyfile( """ import sys import pytest @pytest.mark.xfail() def test_fail(): sys.stdout...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
685
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
697
run_and_parse
ref
function
result, dom = run_and_parse("-o", "junit_logging=%s" % junit_logging)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
698
find_first_by_tag
ref
function
node = dom.find_first_by_tag("testsuite")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
699
find_first_by_tag
ref
function
tnode = node.find_first_by_tag("testcase")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
701
find_by_tag
ref
function
assert len(tnode.find_by_tag("system-err")) == 1
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
703
find_by_tag
ref
function
assert len(tnode.find_by_tag("system-err")) == 0
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
706
find_by_tag
ref
function
assert len(tnode.find_by_tag("system-out")) == 1
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
708
find_by_tag
ref
function
assert len(tnode.find_by_tag("system-out")) == 0
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
711
test_xfailure_xpass
def
function
def test_xfailure_xpass( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str ) -> None: pytester.makepyfile( """ import pytest @pytest.mark.xfail def test_xpass(): pass """ ) result, dom =...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
714
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
722
run_and_parse
ref
function
result, dom = run_and_parse(family=xunit_family)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
724
find_first_by_tag
ref
function
node = dom.find_first_by_tag("testsuite")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
725
assert_attr
ref
function
node.assert_attr(skipped=0, tests=1)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
726
find_first_by_tag
ref
function
tnode = node.find_first_by_tag("testcase")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
727
assert_attr
ref
class
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
730
test_xfailure_xpass_strict
def
function
def test_xfailure_xpass_strict( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str ) -> None: pytester.makepyfile( """ import pytest @pytest.mark.xfail(strict=_True, reason="This needs to fail!") def test_xpass(): ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
733
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
741
run_and_parse
ref
function
result, dom = run_and_parse(family=xunit_family)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
743
find_first_by_tag
ref
function
node = dom.find_first_by_tag("testsuite")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
744
assert_attr
ref
function
node.assert_attr(skipped=0, tests=1)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
745
find_first_by_tag
ref
function
tnode = node.find_first_by_tag("testcase")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
746
assert_attr
ref
class
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
747
find_first_by_tag
ref
function
fnode = tnode.find_first_by_tag("failure")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
748
assert_attr
ref
function
fnode.assert_attr(message="[XPASS(strict)] This needs to fail!")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
751
test_collect_error
def
function
def test_collect_error( self, pytester: Pytester, run_and_parse: RunAndParse, xunit_family: str ) -> None: pytester.makepyfile("syntax error") result, dom = run_and_parse(family=xunit_family) assert result.ret node = dom.find_first_by_tag("testsuite") node.assert_...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
754
makepyfile
ref
function
pytester.makepyfile("syntax error")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
755
run_and_parse
ref
function
result, dom = run_and_parse(family=xunit_family)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
757
find_first_by_tag
ref
function
node = dom.find_first_by_tag("testsuite")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
758
assert_attr
ref
function
node.assert_attr(errors=1, tests=1)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
759
find_first_by_tag
ref
function
tnode = node.find_first_by_tag("testcase")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
760
find_first_by_tag
ref
function
fnode = tnode.find_first_by_tag("error")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
761
assert_attr
ref
function
fnode.assert_attr(message="collection failure")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
762
toxml
ref
function
assert "SyntaxError" in fnode.toxml()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
764
test_unicode
def
function
def test_unicode(self, pytester: Pytester, run_and_parse: RunAndParse) -> None: value = "hx\xc4\x85\xc4\x87\n" pytester.makepyfile( """\ # coding: latin1 def test_hello(): print(%r) assert 0 """ % value ...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
766
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
775
run_and_parse
ref
function
result, dom = run_and_parse()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
777
find_first_by_tag
ref
function
tnode = dom.find_first_by_tag("testcase")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
778
find_first_by_tag
ref
function
fnode = tnode.find_first_by_tag("failure")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
779
toxml
ref
function
assert "hx" in fnode.toxml()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
781
test_assertion_binchars
def
function
def test_assertion_binchars( self, pytester: Pytester, run_and_parse: RunAndParse ) -> None: """This test did fail when the escaping wasn't strict.""" pytester.makepyfile( """ M1 = '\x01\x02\x03\x04' M2 = '\x01\x02\x03\x05' def test_str_c...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
785
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
795
run_and_parse
ref
function
result, dom = run_and_parse()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
796
toxml
ref
function
print(dom.toxml())
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
798
parametrize
ref
function
@pytest.mark.parametrize("junit_logging", ["no", "system-out"])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
799
test_pass_captures_stdout
def
function
def test_pass_captures_stdout( self, pytester: Pytester, run_and_parse: RunAndParse, junit_logging: str ) -> None: pytester.makepyfile( """ def test_pass(): print('hello-stdout') """ ) result, dom = run_and_parse("-o", "junit_loggin...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
802
makepyfile
ref
function
pytester.makepyfile(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
808
run_and_parse
ref
function
result, dom = run_and_parse("-o", "junit_logging=%s" % junit_logging)
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
809
find_first_by_tag
ref
function
node = dom.find_first_by_tag("testsuite")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
810
find_first_by_tag
ref
function
pnode = node.find_first_by_tag("testcase")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
812
find_by_tag
ref
function
assert not node.find_by_tag(
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
816
find_first_by_tag
ref
function
systemout = pnode.find_first_by_tag("system-out")
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
818
toxml
ref
function
"hello-stdout" in systemout.toxml()
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
821
parametrize
ref
function
@pytest.mark.parametrize("junit_logging", ["no", "system-err"])
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
822
test_pass_captures_stderr
def
function
def test_pass_captures_stderr( self, pytester: Pytester, run_and_parse: RunAndParse, junit_logging: str ) -> None: pytester.makepyfile( """ import sys def test_pass(): sys.stderr.write('hello-stderr') """ ) result, dom =...
playground/5d9c10a9-c67f-4d61-a0f0-c84c5a279fa1/pytest/testing/test_junitxml.py
testing/test_junitxml.py
825
makepyfile
ref
function
pytester.makepyfile(