Do not run the tests directly from the source tree. Instead, you should install Twisted into a virtualenv and run "trial twisted" from inside the virtualenv and outside the source tree. The installer has some logic to omit the installation of certain modules and tests which do not work on Python 3.
You can also run the tests by using tox as specified here: https://github.com/twisted/twisted/blob/trunk/README.rst#unit-tests because tox takes care of setting up the virtualenv and running the tests inside the virtualenv. -- Craig On Sat, Mar 17, 2018 at 2:58 AM, John Aherne <johnahe...@rocs.co.uk> wrote: > > > twisted.cred.test.test_strcred.SSHCheckerTests.test_isChecker > ============================================================ > =================== > [ERROR] > Traceback (most recent call last): > File "c:\twistedssl\twisted\src\twisted\mail\test\test_mail.py", line > 12, in <module> > import StringIO > builtins.ModuleNotFoundError: No module named 'StringIO' > >
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python