Exemple #1
0
 def test_type_narrowing_hidden_subclass(self):
     """This test only works with GCC >= 3.0 (and not with other compilers)"""
     if "gcc" not in cc_name:
         return
     if int(cc_version) < 3:
         return
     obj = foo.get_hidden_subclass_pointer()
     self.assertEqual(type(obj), foo.Bar)
Exemple #2
0
 def test_type_narrowing_hidden_subclass(self):
     """This test only works with GCC >= 3.0 (and not with other compilers)"""
     obj = foo.get_hidden_subclass_pointer()
     self.assertEqual(type(obj), foo.Bar)
 def test_type_narrowing_hidden_subclass(self):
     """This test only works with GCC >= 3.0 (and not with other compilers)"""
     obj = foo.get_hidden_subclass_pointer()
     self.assertEqual(type(obj), foo.Bar)