Remove unused import re from test_optional.py.

Not sure why it was there to begin with.