pypiserver/conftest.py
2011-12-05 22:20:50 +01:00

9 lines
221 B
Python

import sys
import httplib
def pytest_configure(config):
if hasattr(sys, "pypy_version_info"):
# mechanize (as included by twill) calls this
httplib.HTTPResponse._decref_socketios = lambda self: None