Résumé : We present necessary and sufficient revealed preference conditions to verify whether a finite data seton nonlinear budget sets is consistent with the maximization of a quasi–concave utility function. Ourresults can be used to test for convexity of the underlying preference relation. We also show that in manysettings, our conditions are easy to use in practical applications.