Browse Source

minor lrucache test fix

Thomas Waldmann 10 năm trước cách đây
mục cha
commit
e5b647fbd1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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