def METHOD_NAME(self):
    d = self.new_dict(key='value')
    # clear() must change the version if the dict is not empty
    self.check_version_changed(d, d.clear)
    # clear() must not change the version if the dict is empty
    self.check_version_dont_change(d, d.clear)