fix tests

This commit is contained in:
Maximilian Hils 2021-12-20 21:06:14 +01:00 committed by GitHub
parent ca646ebd40
commit c74806feac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,7 +122,7 @@ class Test_FileLoading(unittest.TestCase):
def test_error_on_absurd_lengths(self):
s = io.BytesIO()
s.write(b'1000000000:pwned!,')
s.write(b'1000000000000:pwned!,')
s.seek(0)
with self.assertRaises(ValueError):
tnetstring.load(s)