testtimes.py: update to use new import syntax