'setattr() must not convert combined table into split table.'

@support.cpython_only
def test_splittable_setattr_after_pop(self):

    import _testcapi
    class C:
        pass
    a = C()
    a.a = 1
    self.assertTrue(_testcapi.dict_hassplittable(a.__dict__))
    a.__dict__.pop('a')
    self.assertFalse(_testcapi.dict_hassplittable(a.__dict__))
    a.a = 1
    self.assertFalse(_testcapi.dict_hassplittable(a.__dict__))
    a = C()
    a.a = 2
    self.assertTrue(_testcapi.dict_hassplittable(a.__dict__))
    a.__dict__.popitem()
    self.assertFalse(_testcapi.dict_hassplittable(a.__dict__))
    a.a = 3
    self.assertFalse(_testcapi.dict_hassplittable(a.__dict__))
