mirror of
https://github.com/dnet/pySSTV.git
synced 2026-01-03 23:30:37 +01:00
test_sstv: handle iterables in a more portable way
This commit is contained in:
parent
d574ab1d49
commit
bf2efdabea
|
|
@ -22,7 +22,7 @@ class TestSSTV(unittest.TestCase):
|
|||
def test_horizontal_sync(self):
|
||||
horizontal_sync = self.s.horizontal_sync()
|
||||
expected = (1200, self.s.SYNC)
|
||||
actual = horizontal_sync.next()
|
||||
actual = next(iter(horizontal_sync))
|
||||
self.assertEqual(expected, actual)
|
||||
|
||||
def test_gen_freq_bits(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue