Etymology
Today it means: Stupidity or idiocy. Full definition →
From dunce + -ery.
Etymology from Wiktionary, CC BY-SA 4.0.