|
@@ -509,7 +509,7 @@ class CartmanTest(unittest.TestCase):
|
509
|
509
|
'p': ['a', 'b'],
|
510
|
510
|
'd': [False, True]
|
511
|
511
|
}
|
512
|
|
- iter(hoover.Cartman(source, scheme)).next()
|
|
512
|
+ next(iter(hoover.Cartman(source, scheme)))
|
513
|
513
|
|
514
|
514
|
self.assertRaises(ValueError, fn)
|
515
|
515
|
|
|
@@ -529,7 +529,7 @@ class CartmanTest(unittest.TestCase):
|
529
|
529
|
'p': ['a', 'b'],
|
530
|
530
|
'd': [False, True]
|
531
|
531
|
}
|
532
|
|
- iter(hoover.Cartman(source, scheme)).next()
|
|
532
|
+ next(iter(hoover.Cartman(source, scheme)))
|
533
|
533
|
|
534
|
534
|
self.assertRaises(ValueError, fn)
|
535
|
535
|
|
|
@@ -544,7 +544,7 @@ class CartmanTest(unittest.TestCase):
|
544
|
544
|
'c': a_mark
|
545
|
545
|
}
|
546
|
546
|
source = dict.fromkeys(scheme, [])
|
547
|
|
- iter(hoover.Cartman(source, scheme)).next()
|
|
547
|
+ next(iter(hoover.Cartman(source, scheme)))
|
548
|
548
|
|
549
|
549
|
self.assertRaises(ValueError, fn)
|
550
|
550
|
|