diff --git a/py_linq/py_linq.py b/py_linq/py_linq.py
index <HASH>..<HASH> 100644
--- a/py_linq/py_linq.py
+++ b/py_linq/py_linq.py
@@ -1106,11 +1106,11 @@ class SortedEnumerable(Enumerable):
     def __iter__(self):
         for o in reversed(self._key_funcs):
             self._data = sorted(self._data, key=o.key, reverse=o.descending)
-        cache=[]
+        cache = []
         for d in self._data:
             cache.append(d)
             yield d
-        self._data=cache
+        self._data = cache
 
     def then_by(self, func):
         """
diff --git a/tests/test_functions.py b/tests/test_functions.py
index <HASH>..<HASH> 100644
--- a/tests/test_functions.py
+++ b/tests/test_functions.py
@@ -797,4 +797,3 @@ class TestFunctions(TestCase):
             ],
             u"then_by_descending ordering is not correct"
         )
-
PEP8 failures fixed from previous commit