make 'generate_token()' compatible with Python 3.4

This commit is contained in:
Mike Fährmann
2021-01-14 03:40:08 +01:00
parent 1fdecfa269
commit 91308140ec
2 changed files with 3 additions and 2 deletions

View File

@@ -474,7 +474,6 @@ class TestOther(unittest.TestCase):
with self.assertRaises(ValueError):
func(3)
@unittest.skipIf(sys.hexversion < 0x3050000, "missing bytes.hex()")
def test_generate_token(self):
tokens = set()
for _ in range(100):