Through high school we learned both. I took Spanish all 4 years, but had different teachers throughout that time. Most tests and oral exams would allow either, but I do remember some looking specifically for ustedes.

In university we mostly used ustedes, but I had a professor from Spain who would use vosotros. He never expected us to use it but everyone was expected to understand it when reading or in conversation.