On 18/08/2017 07:05, Tristan Seligmann wrote:
Note that I don't think you're allowed to catch GeneratorExit like this;
Interesting, I cribbed that from the lxml docs. Will look into it,
thanks for the pointer.
Given that the crash only occurs at exit, I suspect this has something
to do wit
On Fri, 18 Aug 2017 at 00:47 Phil Mayers wrote:
> SSCCE - well, hopefully correct - here:
>
> https://gist.github.com/philmayers/387597c7407ab98f159426cea5f44a69
>
Note that I don't think you're allowed to catch GeneratorExit like this;
normally doing so will crash your program with a RuntimeErr
This is an odd one; I have a simple test using the incremental xmlfile()
feature of lxml, that crashes *only* if the test case inherits from
trial.unittest.TestCase; it works if inheriting from unittest.TestCase.
SSCCE - well, hopefully correct - here:
https://gist.github.com/philmayers/387597