BUG: Fix np.quantile([Fraction(2,1)], 0.5) (#24711) by charris · Pull Request #25756 · numpy/numpy

@eendebakpt @charris

* BUG: Fix np.quantile([Fraction(2,1)], 0.5)

* address review comments

* pass type instead of dtype instance