diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2021-04-20 18:55:02 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2021-04-20 18:55:02 +0200 |
commit | 632a059cd807f89a685b7632a00e02866e935b95 (patch) | |
tree | 5c9aee453252aedf49cbb27c446062fcae1a16e4 | |
parent | ee712b9c032dfaaf9ca20dc6486c7de73b3f51f5 (diff) | |
download | cython-632a059cd807f89a685b7632a00e02866e935b95.tar.gz |
Fix misplaced test output after extracting a part of it in b643850a12f2065ce71ddcea5b105c28444fbce9.
-rw-r--r-- | tests/run/special_methods_T561.pyx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run/special_methods_T561.pyx b/tests/run/special_methods_T561.pyx index a8945e662..fc381a243 100644 --- a/tests/run/special_methods_T561.pyx +++ b/tests/run/special_methods_T561.pyx @@ -55,7 +55,7 @@ __doc__ = u""" AttributeError: 'special_methods_T561.GetAttribute' object has no attribute '__getattr__' >>> g11 = object.__getattribute__(GetAttribute(), '__getattribute__') >>> g11('attr') - SetDelAttr delattr 'foo' + GetAttribute getattribute 'attr' >>> # If you define either set or delete, you get wrapper objects >>> # for both methods. (This behavior is unchanged by #561.) >>> s_set = Set().__set__ @@ -101,7 +101,6 @@ cdef extern from *: if not CYTHON_USE_TYPE_SPECS or sys.version_info >= (3,8): __doc__ += u""" - GetAttribute getattribute 'attr' >>> # If you define either setattr or delattr, you get wrapper objects >>> # for both methods. (This behavior is unchanged by #561.) >>> sa_setattr = SetAttr().__setattr__ @@ -125,6 +124,7 @@ if not CYTHON_USE_TYPE_SPECS or sys.version_info >= (3,8): SetDelAttr setattr 'foo' 'bar' >>> sda_delattr = SetDelAttr().__delattr__ >>> sda_delattr('foo') + SetDelAttr delattr 'foo' """ |