mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
check pull.__next__ on py3 in pipeline tests
This commit is contained in:
parent
8c2809f75c
commit
433ac368df
1 changed files with 4 additions and 1 deletions
|
|
@ -136,7 +136,10 @@ class ExceptionTest(unittest.TestCase):
|
|||
pull = pl.pull()
|
||||
for i in range(3):
|
||||
next(pull)
|
||||
if six.PY2:
|
||||
self.assertRaises(TestException, pull.next)
|
||||
else:
|
||||
self.assertRaises(TestException, pull.__next__)
|
||||
|
||||
|
||||
class ParallelExceptionTest(unittest.TestCase):
|
||||
|
|
|
|||
Loading…
Reference in a new issue