Commit e3bc9d1a authored by Denis Bilenko's avatar Denis Bilenko

test_socketserver.py: use unittest instead of greentest

parent efe67106
# Test suite for SocketServer.py
# converted to greentest (Denis)
# converted to unittest (Denis)
from gevent import monkey
monkey.patch_all()
from greentest import test_support
from greentest.test_support import (verbose, verify, TESTFN, TestSkipped,
reap_children)
reap_children)
test_support.requires('network')
from SocketServer import *
......@@ -16,7 +16,7 @@ import time
import threading
import sys
import os
import greentest
import unittest
NREQ = 3
DELAY = 0.05
......@@ -209,7 +209,7 @@ def testall():
# client address so this cannot work:
##testloop(socket.AF_UNIX, dgramservers, MyDatagramHandler, testdgram)
class Test(greentest.TestCase):
class Test(unittest.TestCase):
def tearDown(self):
sloppy_cleanup()
......
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