def METHOD_NAME(self):
    # ensure `Pin` has a configuration object that can be modified
    obj = self.Obj()
    Pin.override(obj, service="metrics")
    pin = Pin.get_from(obj)
    assert pin._config is not None
    pin._config["distributed_tracing"] = True
    assert pin._config["distributed_tracing"] is True