Parcourir la source

minor lrucache test fix

Thomas Waldmann il y a 10 ans
Parent
commit
e5b647fbd1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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