Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 27 lines (19 sloc) 748 Bytes
#!/usr/bin/env python3.3
This program is intended to run Twisted's test suite under Python 3. As such,
it should go away once Twisted has been fully ported to Python 3. It is only
intended to be used from a Twisted checkout, and implementation can and will
change at any time.
import sys, os, unittest, tempfile
# Make sure checkout's code is used:
twistedPath = os.path.abspath(os.path.dirname(os.path.dirname(sys.argv[0])))
sys.path.insert(0, twistedPath)
if sys.argv[1:]:
testModules = sys.argv[1:]
from _twistedpython3 import testModules
# Avoid dumping trash all over the place
# Run the tests
unittest.main(module=None, argv=["run-python3-tests", "-v"] + testModules)
Something went wrong with that request. Please try again.