Depends. My teachers (in Germany) all used British English, but allowed both in tests (as long as you stayed somewhat consistent). For people who don't just learn English in school it obviously varies with the different influences and often is a wild mix.