My knee-jerk reaction is Senna or Cassia, or a close relative. There are a couple of species that produce that type of seed pods (I just can't recall which at the moment!)