1. Sīlavīmaṃsaka Jātaka (No.86).– The Bodhisatta was chaplain to the king of Bārāṇasī and wished to test the respective powers of virtue and learning (as given in the Sīlavīmaṃsa Jātaka No.362). When being led before the king, he saw snake charmers exhibiting their snake and warned them lest it should bite them. “He is not like you,” they replied, “for he is good.” The king ordered the chaplain to be executed; but, on hearing of his intentions, he allowed him to become an ascetic.
The story was related in reference to a learned and pious brahmin, in the service of the king of Kosala, who carried out a similar test. Then he joined the Order and became an Arahant. J.i.369‑71.
2. Sīlavīmaṃsaka Jātaka (No.290).– Very similar to No.86 above
.