Change string literals to bytes, since they are compared to bytes.
diff --git a/Lib/pickletools.py b/Lib/pickletools.py
index 537afd2..6ec3ac2 100644
--- a/Lib/pickletools.py
+++ b/Lib/pickletools.py
@@ -503,9 +503,9 @@
     # It's not necessarily true that the result fits in a Python short int:
     # the pickle may have been written on a 64-bit box.  There's also a hack
     # for True and False here.
-    if s == "00":
+    if s == b"00":
         return False
-    elif s == "01":
+    elif s == b"01":
         return True
 
     try: