Merge "Remove unused function"

This commit is contained in:
Jenkins 2016-08-02 11:19:15 +00:00 committed by Gerrit Code Review
commit 6a851fc4c9
1 changed files with 0 additions and 13 deletions

View File

@ -56,19 +56,6 @@ class TestCase(testtools.TestCase):
standardMsg = '%s is not an instance of %r' % (obj, cls)
self.fail(self._formatMessage(msg, standardMsg))
def assertDictEqual(self, d1, d2, msg=None):
# Simple version taken from 2.7
self.assertIsInstance(d1, dict,
'First argument is not a dictionary')
self.assertIsInstance(d2, dict,
'Second argument is not a dictionary')
if d1 != d2:
if msg:
self.fail(msg)
else:
standardMsg = '%r != %r' % (d1, d2)
self.fail(standardMsg)
class TestCommand(TestCase):
"""Test cliff command classes"""