Message158837
| Author |
eric.snow |
| Recipients |
brett.cannon, eric.snow |
| Date |
2012年04月20日.15:18:58 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1334935139.39.0.293792224706.issue14633@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
test_find_module_encoding (in Lib/test/test_imp.py), has the following check:
self.assertRaisesRegex(SyntaxError,
r"Non-UTF-8 code starting with '\\xf6'"
r" in file .*badsyntax_pep3120.py",
imp.find_module, 'badsyntax_pep3120', path)
It may be worth changing to something like this (aligning with the changes in issue14629):
self.assertRaisesRegex(SyntaxError,
r"invalid or missing encoding declaration",
imp.find_module, 'badsyntax_pep3120', path) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年04月20日 15:18:59 | eric.snow | set | recipients:
+ eric.snow, brett.cannon |
| 2012年04月20日 15:18:59 | eric.snow | set | messageid: <1334935139.39.0.293792224706.issue14633@psf.upfronthosting.co.za> |
| 2012年04月20日 15:18:58 | eric.snow | link | issue14633 messages |
| 2012年04月20日 15:18:58 | eric.snow | create |
|