Bug 918097 - [mozprofile] Add unicode letter to profile path by default.
MozReview-Commit-ID: JtCxdJxMEkR
--- a/testing/mozbase/mozprofile/mozprofile/profile.py
+++ b/testing/mozbase/mozprofile/mozprofile/profile.py
@@ -78,17 +78,17 @@ class Profile(object):
self._whitelistpaths = whitelistpaths
# Handle profile creation
self.create_new = not profile
if profile:
# Ensure we have a full path to the profile
self.profile = os.path.abspath(os.path.expanduser(profile))
else:
- self.profile = tempfile.mkdtemp(suffix='.mozrunner')
+ self.profile = tempfile.mkdtemp(suffix=u'.mozrunner\u1F36A')
self.restore = restore
# Initialize all class members
self._internal_init()
def _internal_init(self):
"""Internal: Initialize all class members to their default value"""