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 b8fc5f4 commit 7592af8Copy full SHA for 7592af8
Lib/test/test_email/test_headerregistry.py
@@ -249,7 +249,7 @@ def content_type_as_value(self,
249
folded = args[3] if l>3 else header + decoded + '\n'
250
# Both rfc2231 test cases with utf-8%E2%80%9D raise warnings,
251
# clear encoding cache to ensure test isolation.
252
- if 'utf-8%E2%80%9D' in source:
+ if 'utf-8%E2%80%9D' in source and 'ascii' not in source:
253
import encodings
254
encodings._cache.clear()
255
with self.assertWarns(DeprecationWarning):
0 commit comments