This should be private, also it could have direct test coverage if you passed in sys.version_info and sys.version…