[pylons-discuss] Re: tracking down a test issue - ResourceWarning: unclosed file <_io.BufferedRandom

2020-02-04 Thread Jonathan Vanasco
After even more testing (half my day!)... My app needed an `add_finished_callback` to close any `webob.compat.cgi_FieldStorage` objects in forms. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop

[pylons-discuss] tracking down a test issue - ResourceWarning: unclosed file <_io.BufferedRandom

2020-02-04 Thread Jonathan Vanasco
I keep encountering a particular `ResourceWarning: unclosed file <_io.BufferedRandom` in my test suite that I can not track down. I'm hoping someone else may have an idea: * In a suite of 10+ test classes, it only happens when 2 particular classes are run consecutively and in a particular