소스 검색

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.clock.adjust.assert_called_with(313)
         assert d[b'clock'] == 626
-        assert 'abc' in state.revoked
+        assert b'abc' in state.revoked
 
     def test_sync_clock_and_purge(self, p):
         passthrough = Mock()