id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,branch,changelog,apichanges,internalchanges 9128,Test failures in 0.11.7: UnicodeEncodeErrors in trac.util.tests.AtomicFileTestCase,djc,Remy Blank,"I just went to run the test suite on 0.11.7 on my Gentoo system, and ran into two of these test failures. Here are the full tracebacks: {{{ ====================================================================== ERROR: test_unicode_path (trac.util.tests.AtomicFileTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File ""/var/tmp/portage/www-apps/trac-0.11.7/work/Trac-0.11.7/trac/util/tests/__init__.py"", line 69, in test_unicode_path f = util.AtomicFile(self.path) File ""/var/tmp/portage/www-apps/trac-0.11.7/work/Trac-0.11.7/trac/util/__init__.py"", line 163, in __init__ (fd, self._temp) = tempfile.mkstemp(prefix=name + '-', dir=dir) File ""/usr/lib64/python2.6/tempfile.py"", line 293, in mkstemp return _mkstemp_inner(dir, prefix, suffix, flags) File ""/usr/lib64/python2.6/tempfile.py"", line 228, in _mkstemp_inner fd = _os.open(file, flags, 0600) UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 7: ordinal not in range(128) ====================================================================== ERROR: test_unicode_path (trac.util.tests.AtomicFileTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File ""/var/tmp/portage/www-apps/trac-0.11.7/work/Trac-0.11.7/trac/util/tests/__init__.py"", line 30, in tearDown os.unlink(self.path) UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 7: ordinal not in range(128) }}}",defect,closed,normal,0.12,general,,minor,fixed,,,,,,