浏览代码

More bytes confusion

Ask Solem 8 年之前
父节点
当前提交
8d156c545c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      t/unit/worker/test_state.py

+ 1 - 1
t/unit/worker/test_state.py

@@ -121,7 +121,7 @@ class test_Persistent:
         p._merge_with(d)
         p._merge_with(d)
         p.clock.adjust.assert_called_with(313)
         p.clock.adjust.assert_called_with(313)
         assert d[b'clock'] == 626
         assert d[b'clock'] == 626
-        assert 'abc' in state.revoked
+        assert b'abc' in state.revoked
 
 
     def test_sync_clock_and_purge(self, p):
     def test_sync_clock_and_purge(self, p):
         passthrough = Mock()
         passthrough = Mock()