浏览代码

minor lrucache test fix

Thomas Waldmann 10 年之前
父节点
当前提交
e5b647fbd1
共有 1 个文件被更改,包括 1 次插入1 次删除
  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