This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients lemburg, loewis, nnorwitz, serhiy.storchaka
Date 2013-06-13.08:03:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1371110587.57.0.733906103611.issue18202@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch which contains followed changes:

* Use bytes in test_exec_valid_coding(). Encoding instruction is ignored in strings.
* Use non-ascii data in test_exec_valid_coding() to check that encoding is working.
* Use explicit file encoding in test_file_parse().
* Use with statement for file in test_file_parse().
* Modify sys.path after opening file in test_file_parse() and restore before other cleanups.
* Cleanup '.pyo' file in test_file_parse(). Test can ran in optimized mode.
* Add msg parameter for better failure reporting in test_error_from_string().
* Use unittest.main().
History
Date User Action Args
2013-06-13 08:03:07serhiy.storchakasetrecipients: + serhiy.storchaka, lemburg, loewis, nnorwitz
2013-06-13 08:03:07serhiy.storchakasetmessageid: <1371110587.57.0.733906103611.issue18202@psf.upfronthosting.co.za>
2013-06-13 08:03:07serhiy.storchakalinkissue18202 messages
2013-06-13 08:03:07serhiy.storchakacreate