Moved from having a copy-n-pasted test_socket to using the system test_socket. This means we don't get quite so many gratuitous failures when running on differing versions.
This commit is contained in:
19
tests/stdlib/test_socket.py
Normal file
19
tests/stdlib/test_socket.py
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
from test import test_socket
|
||||
from test.test_socket import *
|
||||
|
||||
from eventlet.green import socket
|
||||
from eventlet.green import select
|
||||
from eventlet.green import time
|
||||
from eventlet.green import thread
|
||||
from eventlet.green import threading
|
||||
|
||||
test_socket.socket = socket
|
||||
test_socket.select = select
|
||||
test_socket.time = time
|
||||
test_socket.thread = thread
|
||||
test_socket.threading = threading
|
||||
|
||||
if __name__ == "__main__":
|
||||
test_main()
|
1030
tests/test_socket.py
1030
tests/test_socket.py
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user