I just fixed Phoenix’s test suite by using StringIO instead of BytesIO for the stream. When running the test suite, the testing starts normally (and also finishes successfully) but immediately spits out this:
“C:\Program Files\Python 3.3.2\python.exe” C:/Users/Boštjan/Desktop/Phoenix/unittests/runtests.py
wx.version: 2.9.5.81-r74357 msw (phoenix)
pid: 3776
…C:\Program Files\Python 3.3.2\Lib\unittest\suite.py:67: ResourceWarning: unclosed file <_io.BufferedReader name=3>
return self.run(*args, **kwds)
…
Process finished with exit code -1
Anyone got a clue how to fix this leak?