minor: typos
This commit is contained in:
parent
c1bde8e0a2
commit
4a74d455de
|
@ -136,5 +136,5 @@ def test_caplog_captures_for_all_stages(caplog, logging_during_setup_and_teardow
|
||||||
|
|
||||||
assert [x.message for x in caplog.get_records("setup")] == ["a_setup_log"]
|
assert [x.message for x in caplog.get_records("setup")] == ["a_setup_log"]
|
||||||
|
|
||||||
# This reachers into private API, don't use this type of thing in real tests!
|
# This reaches into private API, don't use this type of thing in real tests!
|
||||||
assert set(caplog._item.catch_log_handlers.keys()) == {"setup", "call"}
|
assert set(caplog._item.catch_log_handlers.keys()) == {"setup", "call"}
|
||||||
|
|
|
@ -874,7 +874,7 @@ class TestRootdir(object):
|
||||||
assert inifile == inifile
|
assert inifile == inifile
|
||||||
|
|
||||||
@pytest.mark.parametrize("name", "setup.cfg tox.ini".split())
|
@pytest.mark.parametrize("name", "setup.cfg tox.ini".split())
|
||||||
def test_pytestini_overides_empty_other(self, tmpdir, name):
|
def test_pytestini_overrides_empty_other(self, tmpdir, name):
|
||||||
inifile = tmpdir.ensure("pytest.ini")
|
inifile = tmpdir.ensure("pytest.ini")
|
||||||
a = tmpdir.mkdir("a")
|
a = tmpdir.mkdir("a")
|
||||||
a.ensure(name)
|
a.ensure(name)
|
||||||
|
|
Loading…
Reference in New Issue