According to PEP8 this import should be after the third party imports such as Marionette. See http://legacy.python.org/dev/peps/pep-0008/#imports