From 70b949b6e50c3feb529f51fd37fdbad46ae38b28 Mon Sep 17 00:00:00 2001 From: David Halter Date: Mon, 24 Dec 2012 17:22:45 +0100 Subject: [PATCH] test for class inheritance renaming --- test/completion/renaming.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/completion/renaming.py b/test/completion/renaming.py index 869be37d..77856de2 100644 --- a/test/completion/renaming.py +++ b/test/completion/renaming.py @@ -80,3 +80,14 @@ response['Content-Disposition'] = 'attachment; filename=%s.pdf' % id response.write(pdf) #< (-4,0), (-3,0), (-2,0), (0,0) response + + +class Inheritance(object): pass + +#< 20 (0,17), (-3,6) +class TestClass(Inheritance): + def a(): + pass + + def b(): + pass