From 0a63ef3f61f42c5fd22f2d0b626e386fd426ebed Mon Sep 17 00:00:00 2001 From: Ramin Farajpour Cami Date: Tue, 15 Nov 2016 02:10:28 +0330 Subject: Fixed #27463 -- Fixed E741 flake8 warnings. --- tests/utils_tests/test_lazyobject.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'tests/utils_tests/test_lazyobject.py') diff --git a/tests/utils_tests/test_lazyobject.py b/tests/utils_tests/test_lazyobject.py index 36135e6fc6..9dc225b55f 100644 --- a/tests/utils_tests/test_lazyobject.py +++ b/tests/utils_tests/test_lazyobject.py @@ -199,10 +199,10 @@ class LazyObjectTestCase(TestCase): def test_copy_list(self): # Copying a list works and returns the correct objects. - l = [1, 2, 3] + lst = [1, 2, 3] - obj = self.lazy_wrap(l) - len(l) # forces evaluation + obj = self.lazy_wrap(lst) + len(lst) # forces evaluation obj2 = copy.copy(obj) self.assertIsNot(obj, obj2) @@ -211,9 +211,9 @@ class LazyObjectTestCase(TestCase): def test_copy_list_no_evaluation(self): # Copying a list doesn't force evaluation. - l = [1, 2, 3] + lst = [1, 2, 3] - obj = self.lazy_wrap(l) + obj = self.lazy_wrap(lst) obj2 = copy.copy(obj) self.assertIsNot(obj, obj2) @@ -245,10 +245,10 @@ class LazyObjectTestCase(TestCase): def test_deepcopy_list(self): # Deep copying a list works and returns the correct objects. - l = [1, 2, 3] + lst = [1, 2, 3] - obj = self.lazy_wrap(l) - len(l) # forces evaluation + obj = self.lazy_wrap(lst) + len(lst) # forces evaluation obj2 = copy.deepcopy(obj) self.assertIsNot(obj, obj2) @@ -257,9 +257,9 @@ class LazyObjectTestCase(TestCase): def test_deepcopy_list_no_evaluation(self): # Deep copying doesn't force evaluation. - l = [1, 2, 3] + lst = [1, 2, 3] - obj = self.lazy_wrap(l) + obj = self.lazy_wrap(lst) obj2 = copy.deepcopy(obj) self.assertIsNot(obj, obj2) -- cgit v1.3