~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_non_ascii.py

  • Committer: John Arbash Meinel
  • Date: 2006-06-11 02:22:55 UTC
  • mto: (1711.7.2 win32)
  • mto: This revision was merged to the branch mainline in revision 1796.
  • Revision ID: john@arbash-meinel.com-20060611022255-d65cae68762dca6a
In general, python on win32 needs to use the unicode os api, because bytestream stuff just doesn't work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
import os
22
22
 
23
23
import bzrlib
 
24
import bzrlib.osutils as osutils
24
25
from bzrlib.tests import TestCaseInTempDir, TestSkipped
25
26
from bzrlib.trace import mutter, note
26
27
import bzrlib.urlutils as urlutils
208
209
        open('a', 'ab').write('more text\n')
209
210
        bzr('commit', '-m', 'mod a')
210
211
 
211
 
        pwd = os.getcwdu()
 
212
        pwd = osutils.getcwd()
212
213
 
213
214
        os.chdir(u'../' + dirname2)
214
215
        txt = bzr('pull')