Skip to content

Commit

Permalink
Fix missing newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
bbayles committed Nov 30, 2017
1 parent 04de103 commit 5ad28b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion more_itertools/more.py
Expand Up @@ -1686,4 +1686,4 @@ def encode(iterable):

@staticmethod
def decode(iterable):
return chain.from_iterable(repeat(k, n) for k, n in iterable)
return chain.from_iterable(repeat(k, n) for k, n in iterable)
2 changes: 1 addition & 1 deletion more_itertools/tests/test_more.py
Expand Up @@ -1530,4 +1530,4 @@ def test_decode(self):
iterable = [('d', 4), ('c', 3), ('b', 2), ('a', 1)]
actual = ''.join(mi.run_length.decode(iterable))
expected = 'ddddcccbba'
self.assertEqual(actual, expected)
self.assertEqual(actual, expected)

0 comments on commit 5ad28b4

Please sign in to comment.