summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Dahlin <johan@src.gnome.org>2007-04-30 17:41:09 +0000
committerJohan Dahlin <johan@src.gnome.org>2007-04-30 17:41:09 +0000
commit5c907554f4c995d0dba2359c8a30fe29927e02d0 (patch)
tree15c964edbe28b53f5ae049c96aa0ec7f0e90ed84
parenta0f7e83fb9a50a43668eb5c622bfa6edb06185f5 (diff)
downloadpygobject-5c907554f4c995d0dba2359c8a30fe29927e02d0.tar.gz
pygobject-5c907554f4c995d0dba2359c8a30fe29927e02d0.tar.xz
pygobject-5c907554f4c995d0dba2359c8a30fe29927e02d0.zip
Remove whitespace, add a bug reference
svn path=/trunk/; revision=659
-rw-r--r--tests/test_subtype.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/test_subtype.py b/tests/test_subtype.py
index 2b2c21f..cfb70bb 100644
--- a/tests/test_subtype.py
+++ b/tests/test_subtype.py
@@ -155,7 +155,7 @@ class TestSubType(unittest.TestCase):
box.destroy()
del box
self.assertEqual(bref(), None)
-
+
def testGhostWeakref(self):
b = gtk.Button()
bref = b.weak_ref()
@@ -213,7 +213,7 @@ class TestSubType(unittest.TestCase):
pass
a = b.child
#print "__dict__3: refcount=%i id=%i" % (sys.getrefcount(a.__dict__), id(a.__dict__))
-
+
self.assert_(hasattr(a, 'd'))
self.assert_(hasattr(a, 'foo'))
self.assertEqual(a.foo, "hello")
@@ -223,7 +223,7 @@ class TestSubType(unittest.TestCase):
class CallInDel:
def __init__(self, callback):
self.callback = callback
-
+
def __del__(self):
if callable(self.callback):
self.callback()
@@ -236,6 +236,7 @@ class TestSubType(unittest.TestCase):
assert len(disposed_calls) == 1
def testDescriptor(self):
+ # Test for bug #434659
class GProperty(object):
def __set__(self, instance, value):
pass