Skip to content

Commit

Permalink
Fix expected error message
Browse files Browse the repository at this point in the history
  • Loading branch information
yecril23pl authored Feb 29, 2024
1 parent 07efeea commit d697fe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_multipart.py
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ def test_bad_start_boundary(self):

self.make("boundary")
data = b"--Boundary\r\nfoobar"
with self.assertRaisesRegex(MultipartParseError, 'Expected %r, got %r' % (b'b'[0], b'B'[0])):
with self.assertRaisesRegex(MultipartParseError, 'Expected boundary character %r, got %r' % (b'b'[0], b'B'[0])):
i = self.f.write(data)

def test_octet_stream(self):
Expand Down

0 comments on commit d697fe6

Please sign in to comment.