aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Crute <mcrute@gmail.com>2016-06-11 20:27:14 -0700
committerMike Crute <mcrute@gmail.com>2016-06-11 20:27:14 -0700
commita61dba18d255112c4f9285362dd8c2452506a76c (patch)
treed2e5af9907c11c80dd8cc57b722ec8d2935e284f
parentd16320a8ff2d55096447a1c94d8e44b0c41dc56f (diff)
downloadpydora-a61dba18d255112c4f9285362dd8c2452506a76c.tar.bz2
pydora-a61dba18d255112c4f9285362dd8c2452506a76c.tar.xz
pydora-a61dba18d255112c4f9285362dd8c2452506a76c.zip
Python 3.5 fixes
-rw-r--r--tests/test_pydora/test_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_pydora/test_utils.py b/tests/test_pydora/test_utils.py
index ae6fa0b..5334ff6 100644
--- a/tests/test_pydora/test_utils.py
+++ b/tests/test_pydora/test_utils.py
@@ -24,7 +24,7 @@ class TestIterateForever(TestCase):
24 24
25 station_iter = iterate_forever(station.get_playlist) 25 station_iter = iterate_forever(station.get_playlist)
26 26
27 next_track = station_iter.next() 27 next_track = next(station_iter)
28 self.assertEqual(ad_mock, next_track) 28 self.assertEqual(ad_mock, next_track)
29 29
30 def test_reraise_missing_params_exception(self): 30 def test_reraise_missing_params_exception(self):
@@ -36,4 +36,4 @@ class TestIterateForever(TestCase):
36 get_playlist_mock.return_value=iter([track_mock]) 36 get_playlist_mock.return_value=iter([track_mock])
37 37
38 station_iter = iterate_forever(station.get_playlist) 38 station_iter = iterate_forever(station.get_playlist)
39 station_iter.next() 39 next(station_iter)