TestWithMemoryTransport sets $BZR_HOME to a unicode string

Bug #464174 reported by Michael Hudson-Doyle
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
Michael Hudson-Doyle

Bug Description

This causes Twisted's spawnProcess to complain, which insists that all keys and values in the environ dict are plain strings (this seems reasonable to me).

This is due to r4707.1.1 of bzr.dev, which applies osutils.realpath to what was BZR_HOME before. I think a fix would be to encode TEST_ROOT with sys.getfilesystemencoding().

Related branches

description: updated
Martin Pool (mbp)
Changed in bzr:
status: New → In Progress
assignee: nobody → Michael Hudson (mwhudson)
importance: Undecided → Medium
John A Meinel (jameinel)
Changed in bzr:
milestone: none → 2.1.0b4
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.