Title: Coverage execution fails for files not encoded with utf-8
Type: crash Stage:
Components: Tests Versions: Python 3.1
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, maru
Priority: normal Keywords: patch

Created on 2009-04-01 18:25 by maru, last changed 2009-04-01 23:07 by georg.brandl. This issue is now closed.

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.
Date User Action Args
2009-04-01 23:07:47georg.brandlsetstatus: open -> closed

nosy: + georg.brandl
messages: + msg85110

resolution: fixed
2009-04-01 18:26:18marusetfiles: + trace_ignore_temp_path.patch
2009-04-01 18:25:41marucreate