aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-11-01 19:07:01 -0400
committerJesse Luehrs <doy@tozt.net>2014-11-01 19:07:01 -0400
commit41a9189cce4aedea390baa6baf58c3673ec43f5e (patch)
treef0e54b1849ca503e240cec6c30fa2e334e6eb8b7
parenta88528bc843d9293636b30165be07cd4f241c500 (diff)
downloadpython-mop-41a9189cce4aedea390baa6baf58c3673ec43f5e.tar.gz
python-mop-41a9189cce4aedea390baa6baf58c3673ec43f5e.zip
actually, what am i doingHEADmaster
-rw-r--r--t/overrides_test.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/t/overrides_test.py b/t/overrides_test.py
index eec0247..4051d65 100644
--- a/t/overrides_test.py
+++ b/t/overrides_test.py
@@ -9,9 +9,7 @@ from . import InMemoryDatabase
# obscure the implementation and make it not as easy to follow (we would have
# to manage call stacks ourselves), and so we just do this instead for now
def call_method_at_class(c, method_name, invocant, *args, **kwargs):
- method = c.all_methods()[method_name]
- attr = method.metaclass.all_attributes()["body"]
- return attr.value(method)(invocant, *args, **kwargs)
+ return c.all_methods()[method_name].execute(invocant, args, kwargs)
class OverridesTest(unittest.TestCase):
def test_accessor_generation(self):