Remove Python 2 compatibility code

2 jobs for urllib in 21 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
passed #9645
run-test

00:00:15

 
  Build
passed #9646
run-build

00:00:06