Comment 1 for bug 1989343

Revision history for this message
scoder (scoder) wrote :

Thanks for the report.

lxml actually does make use of the Python operations for files that you pass it as open file objects (as opposed to file paths). Does that help?

Maybe you could use mock to replace lxml's file writing functions with a wrapper that opens the file from a path before passing it on?