This should be all the changes needed to get test collection working in python 3 for the `lms` folder.