Commit 076235e7 authored by Robert Bradshaw's avatar Robert Bradshaw

Test case for #494, function binding.

parent 53e50941
......@@ -12,6 +12,7 @@ compile.cpp_operators
cpp_templated_ctypedef
cpp_structs
with_statement_module_level_T536
function_as_method_T494
# CPython regression tests that don't current work:
pyregr.test_threadsignals
......
__doc__ = """
>>> A.foo = foo
>>> print A().foo()
"""
class A:
pass
def foo(self):
return self is not None
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