TestWithMemoryTransport sets $BZR_HOME to a unicode string

Bug #464174 reported by Michael Hudson-Doyle on 2009-10-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone
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) on 2009-11-23
Changed in bzr:
status: New → In Progress
assignee: nobody → Michael Hudson (mwhudson)
importance: Undecided → Medium
John A Meinel (jameinel) on 2009-12-14
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  Edit
Everyone can see this information.

Other bug subscribers