Same here: use specialized assertion. IsEmtpy, Contains 

This is also valid for :+1: 
self.assertEqual(log_output.getvalue(), "")

self.assertIsEmpty(log_output.getvalue())

-----

When writing asserts, use the following order:

self.assertSomething(EXPECTED_VALUE, CURRENT_VALUE)