summaryrefslogtreecommitdiff
path: root/testall.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2014-08-19 11:58:33 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-09-01 02:47:15 +0200
commit5a8881000cc4ceaf0fa15084f650cf3f3343c36a (patch)
treed017716f817a1c67a1e1ea1ed8982647b7436229 /testall.py
parent70839368c1e204cc6527cbb1e38a9928dce70562 (diff)
downloadslixmpp-5a8881000cc4ceaf0fa15084f650cf3f3343c36a.tar.gz
slixmpp-5a8881000cc4ceaf0fa15084f650cf3f3343c36a.tar.bz2
slixmpp-5a8881000cc4ceaf0fa15084f650cf3f3343c36a.tar.xz
slixmpp-5a8881000cc4ceaf0fa15084f650cf3f3343c36a.zip
Remove support for gevent, incompatible with python3.
Diffstat (limited to 'testall.py')
-rwxr-xr-xtestall.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/testall.py b/testall.py
index 32d293ed..462550b7 100755
--- a/testall.py
+++ b/testall.py
@@ -1,9 +1,6 @@
#!/usr/bin/env python3
import sys
-if len(sys.argv)>1 and sys.argv[1].lower() == 'gevent':
- from gevent import monkey
- monkey.patch_all()
import os
import logging
@@ -61,7 +58,7 @@ class TestCommand(distutils.core.Command):
if __name__ == '__main__':
result = run_tests()
- print("<tests %s ran='%s' errors='%s' fails='%s' success='%s' gevent_enabled=%s/>" % (
+ print("<tests %s ran='%s' errors='%s' fails='%s' success='%s'/>" % (
"xmlns='http//andyet.net/protocol/tests'",
result.testsRun, len(result.errors),
- len(result.failures), result.wasSuccessful(),'gevent' in sys.modules))
+ len(result.failures), result.wasSuccessful()))