Merge "Using assertIsNone(xxx) instead of assertEqual(None, xxx)"

This commit is contained in:
Jenkins 2017-07-05 12:00:36 +00:00 committed by Gerrit Code Review
commit fec00c19a0
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class LogTest(testctx.TestContextTestCase):
record = logs[0]
self.assertIn(u'test with exc', record.getMessage())
self.assertEqual(None, record.exc_info)
self.assertIsNone(record.exc_info)
self.assertIn(u'TestException: with arg', record.exc_text)
self.assertEqual('PrivContext(cfg_section=privsep)',
record.processName)