Issue 5656: Coverage execution fails for files not encoded with utf-8 (original) (raw)

Issue5656

Created on 2009-04-01 18:25 by maru, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
trace_detect_encoding.patch maru,2009-04-01 18:25 Detects encoding of module under coverage.
trace_ignore_temp_path.patch maru,2009-04-01 18:26 Ignores modules in temp paths for coverage output
Messages (2)
msg85065 - (view) Author: Maru Newby (maru) * Date: 2009-04-01 18:25
Running the tests with coverage against files using non-utf8 encoding was raising an exception that prevented coverage output from being displayed (patch is attached). The coverage output was also being polluted with failed attempts to display modules that were created during the testing in temporary paths. A patch is attached that prevents coverage output from being attempted for such files.
msg85110 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-04-01 23:07
Committed in r71002.
History
Date User Action Args
2022-04-11 14:56:47 admin set github: 49906
2009-04-01 23:07:47 georg.brandl set status: open -> closednosy: + georg.brandlmessages: + resolution: fixed
2009-04-01 18:26:18 maru set files: + trace_ignore_temp_path.patch
2009-04-01 18:25:41 maru create