summaryrefslogtreecommitdiffstats
path: root/tests/samplebinding
diff options
context:
space:
mode:
Diffstat (limited to 'tests/samplebinding')
-rw-r--r--tests/samplebinding/class_fields_test.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/samplebinding/class_fields_test.py b/tests/samplebinding/class_fields_test.py
index 4578efb2..576e8d62 100644
--- a/tests/samplebinding/class_fields_test.py
+++ b/tests/samplebinding/class_fields_test.py
@@ -117,6 +117,9 @@ class TestAccessingCppFields(unittest.TestCase):
del d
self.assertEqual(getrefcount(o), refcount)
+ def testStaticField(self):
+ self.assertEqual(Derived.staticPrimitiveField, 0)
+
if __name__ == '__main__':
unittest.main()