mirror of https://github.com/scrapy/scrapy.git
remove usage of assertLess() which is only available on python 2.7+
This commit is contained in:
parent
431441cb52
commit
43b79afc9c
|
|
@ -221,4 +221,4 @@ class LifoDiskQueueTest(LifoMemoryQueueTest):
|
|||
q = self.queue()
|
||||
q.pop()
|
||||
q.close()
|
||||
self.assertLess(os.path.getsize(self.path), size)
|
||||
assert os.path.getsize(self.path), size
|
||||
|
|
|
|||
Loading…
Reference in New Issue