Silence a py3k warning claiming to affect Lib/calendar.py
[python.git] / Lib / test / pyclbr_input.py
blob8efc9de75d7767b75666e41cc5d6bfacfc0ee4a0
1 """Test cases for test_pyclbr.py"""
3 def f(): pass
5 class Other(object):
6 @classmethod
7 def foo(c): pass
9 def om(self): pass
11 class B (object):
12 def bm(self): pass
14 class C (B):
15 foo = Other().foo
16 om = Other.om
18 d = 10
20 # XXX: This causes test_pyclbr.py to fail, but only because the
21 # introspection-based is_method() code in the test can't
22 # distinguish between this and a geniune method function like m().
23 # The pyclbr.py module gets this right as it parses the text.
25 #f = f
27 def m(self): pass
29 @staticmethod
30 def sm(self): pass
32 @classmethod
33 def cm(self): pass