assertItemsEqual was renamed to assertCountEqual in Python 3.

This commit is contained in:
Berker Peksag 2015-03-08 15:18:49 +02:00
parent c9d7386a32
commit c86e1bebec
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,9 @@ class SettingsAttributeTest(unittest.TestCase):
class SettingsTest(unittest.TestCase):
if six.PY3:
assertItemsEqual = unittest.TestCase.assertCountEqual
def setUp(self):
self.settings = Settings()