Commit 540c2c20 authored by Denis Bilenko's avatar Denis Bilenko

test__doctests.py: add 'socket' to the globals for doctests

parent 78a0188b
......@@ -3,6 +3,7 @@ import re
import doctest
import unittest
import gevent
from gevent import socket
base = os.path.dirname(gevent.__file__)
modules = set()
......@@ -10,7 +11,7 @@ modules = set()
def myfunction(*args, **kwargs):
pass
globs = {'myfunction': myfunction, 'gevent': gevent}
globs = {'myfunction': myfunction, 'gevent': gevent, 'socket': socket}
for path, dirs, files in os.walk(base):
package = 'gevent' + path.replace(base, '').replace('/', '.')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment