TestWithMemoryTransport sets $BZR_HOME to a unicode string
Bug #464174 reported by
Michael Hudson-Doyle
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.getfilesyst
Related branches
lp:~mwhudson/bzr/bytestring-environment-variables
- Martin Pool: Approve
- Robert Collins (community): Approve
-
Diff: 48 lines (+15/-2)3 files modifiedNEWS (+2/-0)
bzrlib/tests/__init__.py (+5/-2)
bzrlib/tests/test_selftest.py (+8/-0)
description: | updated |
Changed in bzr: | |
status: | New → In Progress |
assignee: | nobody → Michael Hudson (mwhudson) |
importance: | Undecided → Medium |
Changed in bzr: | |
milestone: | none → 2.1.0b4 |
status: | In Progress → Fix Released |
To post a comment you must log in.