mirror of https://github.com/scrapy/scrapy.git
Merge pull request #1070 from berkerpeksag/items-equal
assertItemsEqual was renamed to assertCountEqual in Python 3.
This commit is contained in:
commit
645366a0fd
|
|
@ -30,6 +30,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