1.1 --- a/tests/methods_unbound.py Mon Jan 23 22:31:14 2017 +0100
1.2 +++ b/tests/methods_unbound.py Mon Jan 23 23:01:11 2017 +0100
1.3 @@ -83,6 +83,8 @@
1.4 except TypeError:
1.5 print "f(d, 1): d is not a suitable argument."
1.6
1.7 +# Get an unbound method, C.m.
1.8 +
1.9 fn = f(C, 0)
1.10
1.11 try:
1.12 @@ -91,6 +93,9 @@
1.13 print "fn(2): Unbound method is not callable."
1.14
1.15 print get_using(fn, c)(2) # 2
1.16 +
1.17 +# Repeat with fn re-evaluated.
1.18 +
1.19 print get_using(f(C, 0), c)(2) # 2
1.20
1.21 try: