Remove test committed by mistake
This commit is contained in:
parent
1f85d15c93
commit
1f83164974
|
@ -35,17 +35,6 @@ class TestNewAPI:
|
|||
val = config.cache.get("key/name", -2)
|
||||
assert val == -2
|
||||
|
||||
def test_cache_order(self, pytester: Pytester) -> None:
|
||||
pytester.makeini("[pytest]")
|
||||
config = pytester.parseconfigure()
|
||||
assert config.cache is not None
|
||||
cache = config.cache
|
||||
pytest.raises(TypeError, lambda: cache.set("key/name", cache))
|
||||
config.cache.set("key/name", 0)
|
||||
config.cache._getvaluepath("key/name").write_bytes(b"123invalid")
|
||||
val = config.cache.get("key/name", -2)
|
||||
assert val == -2
|
||||
|
||||
@pytest.mark.filterwarnings("ignore:could not create cache path")
|
||||
def test_cache_writefail_cachfile_silent(self, pytester: Pytester) -> None:
|
||||
pytester.makeini("[pytest]")
|
||||
|
|
Loading…
Reference in New Issue