Commit a85e75b9 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

fix: some tests got broken by autopep8 I think

parent 26de8110d979
Pipeline #72125 failed with stages
in 1 minute and 27 seconds
......@@ -121,11 +121,11 @@ class DecoratorsTC(TestCase):
def quux(self, zogzog):
"""what's up doc ?"""
self.assertEqual(Foo.foo.__doc__, """ what's up doc ? """)
self.assertEqual(Foo.foo.__doc__, """what's up doc ?""")
self.assertEqual(Foo.foo.__name__, "foo")
self.assertEqual(Foo.bar.__doc__, """ what's up doc ? """)
self.assertEqual(Foo.bar.__doc__, """what's up doc ?""")
self.assertEqual(Foo.bar.__name__, "bar")
self.assertEqual(Foo.quux.__doc__, """ what's up doc ? """)
self.assertEqual(Foo.quux.__doc__, """what's up doc ?""")
self.assertEqual(Foo.quux.__name__, "quux")
def test_cached_single_cache(self):
......@@ -213,7 +213,7 @@ class DecoratorsTC(TestCase):
self.assertEqual(foo.bar, 1)
self.assertEqual(foo.quux, 42)
self.assertEqual(Foo.bar.__doc__, "<wrapped by the cachedproperty decorator>")
self.assertEqual(Foo.quux.__doc__, "<wrapped by the cachedproperty decorator>\n some prop ")
self.assertEqual(Foo.quux.__doc__, "<wrapped by the cachedproperty decorator>\nsome prop")
foo2 = Foo()
self.assertEqual(foo2.bar, 2)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment