diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_types.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_types.py b/Lib/test/test_types.py index 21e8b96..60f6d2f 100644 --- a/Lib/test/test_types.py +++ b/Lib/test/test_types.py @@ -741,6 +741,11 @@ class TypesTests(unittest.TestCase): for code in 'xXobns': self.assertRaises(ValueError, format, 0, ',' + code) + def test_internal_sizes(self): + self.assertGreater(object.__basicsize__, 0) + self.assertGreater(tuple.__itemsize__, 0) + + def test_main(): with check_py3k_warnings( ("buffer.. not supported", DeprecationWarning), |