Explorar o código

minor lrucache test fix

Thomas Waldmann %!s(int64=10) %!d(string=hai) anos
pai
achega
e5b647fbd1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      borg/testsuite/lrucache.py

+ 1 - 1
borg/testsuite/lrucache.py

@@ -48,5 +48,5 @@ class TestLRUCache:
         assert 2 not in c
         assert f2.closed
         c.clear()
-        assert not c.items()
+        assert c.items() == set()
         assert f3.closed