gabrielfalcao / HTTPretty

Intercept HTTP requests at the Python socket level. Fakes the whole socket module

Home Page:https://httpretty.readthedocs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FakeSockFile: `'super' object has no attribute 'flush'`

gabrielfalcao opened this issue · comments

Tasks

  • investigate the following log msg:
DEBUG httpretty.core error closing file <httpretty.core.FakeSockFile object at 0x105b468a8>: 'super' object has no attribute 'flush'

I'm seeing this error a lot in my test logs, I suppose the super.flush is a leftover from when FakeSockFile inherited from StringIO.