mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-21 22:58:24 +00:00
fix tests
This commit is contained in:
parent
ca646ebd40
commit
c74806feac
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user