spelling: overridden

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2024-03-10 22:29:33 -04:00
parent c6d8e778e2
commit c296571aa8
3 changed files with 5 additions and 5 deletions

View File

@ -1740,7 +1740,7 @@ class TestOverrideIniArgs:
) )
pytester.makepyfile( pytester.makepyfile(
r""" r"""
def test_overriden(pytestconfig): def test_overridden(pytestconfig):
config_paths = pytestconfig.getini("paths") config_paths = pytestconfig.getini("paths")
print(config_paths) print(config_paths)
for cpf in config_paths: for cpf in config_paths:

View File

@ -396,7 +396,7 @@ class TestDoctests:
] ]
) )
def test_doctest_no_linedata_on_overriden_property(self, pytester: Pytester): def test_doctest_no_linedata_on_overridden_property(self, pytester: Pytester):
pytester.makepyfile( pytester.makepyfile(
""" """
class Sample(object): class Sample(object):
@ -414,7 +414,7 @@ class TestDoctests:
result.stdout.fnmatch_lines( result.stdout.fnmatch_lines(
[ [
"*= FAILURES =*", "*= FAILURES =*",
"*_ [[]doctest[]] test_doctest_no_linedata_on_overriden_property.Sample.some_property _*", "*_ [[]doctest[]] test_doctest_no_linedata_on_overridden_property.Sample.some_property _*",
"EXAMPLE LOCATION UNKNOWN, not showing all tests of that example", "EXAMPLE LOCATION UNKNOWN, not showing all tests of that example",
"[?][?][?] >>> Sample().some_property", "[?][?][?] >>> Sample().some_property",
"Expected:", "Expected:",
@ -422,7 +422,7 @@ class TestDoctests:
"Got:", "Got:",
" 'something'", " 'something'",
"", "",
"*/test_doctest_no_linedata_on_overriden_property.py:None: DocTestFailure", "*/test_doctest_no_linedata_on_overridden_property.py:None: DocTestFailure",
"*= 1 failed in *", "*= 1 failed in *",
] ]
) )

View File

@ -155,7 +155,7 @@ def test_override_ini_paths(pytester: pytest.Pytester) -> None:
) )
pytester.makepyfile( pytester.makepyfile(
r""" r"""
def test_overriden(pytestconfig): def test_overridden(pytestconfig):
config_paths = pytestconfig.getini("paths") config_paths = pytestconfig.getini("paths")
print(config_paths) print(config_paths)
for cpf in config_paths: for cpf in config_paths: