mirror of https://github.com/scrapy/scrapy.git
assertItemsEqual was renamed to assertCountEqual in Python 3.
This commit is contained in:
parent
c9d7386a32
commit
c86e1bebec
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue