Known subclasses: twisted.test.test_log.FileObserverTests, twisted.test.test_log.LogPublisherTests

No class docstring
Method setUp No summary
Method tearDown Verify that everything written to the fake file self.out was a str. Also, restore the default string encoding to its previous setting, if it was modified by setUp.
def setUp(self):

Add a log observer which records log events in self.out. Also, make sure the default string encoding is ASCII so that testSingleUnicode can test the behavior of logging unencodable unicode messages.

def tearDown(self):

Verify that everything written to the fake file self.out was a str. Also, restore the default string encoding to its previous setting, if it was modified by setUp.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.