Explorar o código

More bytes confusion

Ask Solem %!s(int64=8) %!d(string=hai) anos
pai
achega
8d156c545c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()