aboutsummaryrefslogtreecommitdiffstats
path: root/tests/samplebinding/class_fields_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/samplebinding/class_fields_test.py')
-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 4578efb28..576e8d62e 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()