When I got my license two years ago they didn’t seem to care what type of visa or residence permit people were holding – I was on either tourist or F (no residence permit) and got mine without any problems. They might give you trouble if there’s only a few days left on your visa, I could imagine though.
Like I said, that was 2 years ago, may be different now.
Get someone who speaks Chinese to give them a call!