Different versions of Python have different sets of tests.

This commit is contained in:
Ryan Williams
2010-02-14 20:20:59 -08:00
parent 19739f9d6d
commit ba22f8450d

View File

@@ -20,7 +20,10 @@ patcher.inject('test.test_socketserver',
('threading', threading))
# only a problem with pyevent
SocketServerTest.test_ForkingUDPServer = lambda *a, **kw: None
try:
SocketServerTest.test_ForkingUDPServer = lambda *a, **kw: None
except (NameError, AttributeError):
pass
if __name__ == "__main__":
test_main()