summaryrefslogtreecommitdiff
path: root/tests/utils_tests/test_functional.py
diff options
context:
space:
mode:
authorza <za@python.or.id>2016-10-27 14:53:39 +0700
committerTim Graham <timograham@gmail.com>2016-11-10 21:30:21 -0500
commit321e94fa41b121f65c02119c02098df327bbd569 (patch)
treece5476c191d589aca4b124f841dfbccac8dd299f /tests/utils_tests/test_functional.py
parent4bb70cbcc60794f515c9bfefeca87b8272d33c0c (diff)
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
Diffstat (limited to 'tests/utils_tests/test_functional.py')
-rw-r--r--tests/utils_tests/test_functional.py13
1 files changed, 4 insertions, 9 deletions
diff --git a/tests/utils_tests/test_functional.py b/tests/utils_tests/test_functional.py
index f62784f1b0..1413ac23b3 100644
--- a/tests/utils_tests/test_functional.py
+++ b/tests/utils_tests/test_functional.py
@@ -14,8 +14,7 @@ class FunctionalTestCase(unittest.TestCase):
self.assertEqual(a, b)
def test_lazy_base_class(self):
- """Test that lazy also finds base class methods in the proxy object"""
-
+ """lazy also finds base class methods in the proxy object"""
class Base(object):
def base_method(self):
pass
@@ -27,8 +26,7 @@ class FunctionalTestCase(unittest.TestCase):
self.assertIn('base_method', dir(t))
def test_lazy_base_class_override(self):
- """Test that lazy finds the correct (overridden) method implementation"""
-
+ """lazy finds the correct (overridden) method implementation"""
class Base(object):
def method(self):
return 'Base'
@@ -81,10 +79,8 @@ class FunctionalTestCase(unittest.TestCase):
def test_cached_property(self):
"""
- Test that cached_property caches its value,
- and that it behaves like a property
+ cached_property caches its value and that it behaves like a property
"""
-
class A(object):
@cached_property
@@ -121,9 +117,8 @@ class FunctionalTestCase(unittest.TestCase):
def test_lazy_equality(self):
"""
- Tests that == and != work correctly for Promises.
+ == and != work correctly for Promises.
"""
-
lazy_a = lazy(lambda: 4, int)
lazy_b = lazy(lambda: 4, int)
lazy_c = lazy(lambda: 5, int)