It is a little quaint-sounding, but it might be used, for effect, for that very reason. For example:
Teacher to students: "We're going to be visiting the museum, so there's going to be no tomfoolery while we're there. Understood?"
"I've cut you slack and covered for you too many times. Now I've had it with your tomfoolery. You're on your own from now on."