PWM with Circuitpython doesn't work for pins 10 to 19 (which apparently uses some other type of timer). But at least then it complains about not being able to use that pin for PWM.
For pins 1, 2, 23 etc, it doesn't complain, but it also doesn't output anything for me. I'll ask in the thread...