diff options
| author | Ramin Farajpour Cami <ramin.blackhat@gmail.com> | 2016-11-15 02:10:28 +0330 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-11-14 17:40:28 -0500 |
| commit | 0a63ef3f61f42c5fd22f2d0b626e386fd426ebed (patch) | |
| tree | 4529b5f5c23db4062a5195f961e4ae468120741e /tests/utils_tests/test_lazyobject.py | |
| parent | c7bfcd2f377ad5803e25ee547dee9cf58ee68ab2 (diff) | |
Fixed #27463 -- Fixed E741 flake8 warnings.
Diffstat (limited to 'tests/utils_tests/test_lazyobject.py')
| -rw-r--r-- | tests/utils_tests/test_lazyobject.py | 20 |
1 files changed, 10 insertions, 10 deletions
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) |
