Explorar el Código

minor lrucache test fix

Thomas Waldmann hace 10 años
padre
commit
e5b647fbd1
Se han modificado 1 ficheros con 1 adiciones y 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