Hello! Help, please resolve the issue. HTMLTestRunner after passing the test does not generate a report. Even an empty file does not create. To be precise, but after launching from the console, the file is created, but empty, and a bunch of errors related to the HTMLTestRunner fall out into the console itself. Because I am using python 3.5.1, it has been suggested that HTMLTestRunner is not adapted to work with this version. The simplest code for testing:
import unittest import HTMLTestRunner class TestFunctions(unittest.TestCase): def test_test1(self): pass def test_test2(self): pass if __name__ == '__main__': suite = unittest.TestSuite() suite.addTest(unittest.makeSuite(TestFunctions)) # File buf = open("Report.html", 'wb') runner = HTMLTestRunner.HTMLTestRunner( stream=buf, title='Test the Report', description='Result of tests' ) runner.run(suite) In the body of HTMLTestRunner.py there are warnings: 
Also, there previously changed one line on the advice of one well-known community :
import StringIO на from io import StringIO In general, nothing helped. We run tests from PyCharm - pass, but there is no report. Running from the console does not work, the report is empty, and then apparently the file itself is created thanks to buf = open("Report.html", 'wb')