1
0
mirror of https://github.com/pypiserver/pypiserver synced 2024-11-09 16:45:51 +01:00
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