Ah, thanks for catching that. I should rely less on copy pasta. I changed u to u? in the regexp so that it'd handle py2 and py3. I reran the test using a py3 virtualenv and it seems to work now. I've rebased the fix into the commit.