summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_debiandistro.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_debiandistro.py b/tests/test_debiandistro.py
index 99c7c91..a166aa8 100644
--- a/tests/test_debiandistro.py
+++ b/tests/test_debiandistro.py
@@ -80,7 +80,7 @@ class TestDebianDistro(unittest.TestCase):
'']
def readline(self):
- return self.iter.next()
+ return next(self.iter)
with patch('sys.stdin', new_callable=AptPipelineMock):
pkgs = DebianDistro.read_apt_pipeline()