diff options
Diffstat (limited to 'tests/samplebinding')
-rw-r--r-- | tests/samplebinding/class_fields_test.py | 3 |
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() |