We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cd3c9f commit a080729Copy full SHA for a080729
Lib/test/test_gettext.py
@@ -672,7 +672,7 @@ def test_raise_descriptive_error_for_incorrect_content_type(self):
672
# "Content-Type: text/plain; charste=UTF-8\n"
673
fp.write(
674
b'\xde\x12\x04\x95\x00\x00\x00\x00\x01\x00\x00\x00\x1c\x00\x00\x00$\x00\x00\x00\x03\x00\x00\x00,\x00'
675
- b'\x00\x00\x00\x00\x00\x008\x00\x00\x007\x00\x00\x009\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00'
+ b'\x00\x00\x00\x00\x00\x008\x00\x00\x00(\x00\x00\x009\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00'
676
b'\x00\x00\x00\x00Content-Type: text/plain; charste=UTF-8\n\x00'
677
)
678
with self.assertRaisesRegex(ValueError, "invalid content-type syntax"):
0 commit comments