From 1f83164974d0555b8aa84e49599c9694c1e1627b Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Fri, 15 Oct 2021 18:01:18 -0300 Subject: [PATCH] Remove test committed by mistake --- testing/test_cacheprovider.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/testing/test_cacheprovider.py b/testing/test_cacheprovider.py index 94d58a09b..db05c5a76 100644 --- a/testing/test_cacheprovider.py +++ b/testing/test_cacheprovider.py @@ -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]")