~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transform.py

  • Committer: Wouter van Heyst
  • Date: 2012-01-25 19:07:22 UTC
  • mfrom: (6437.19.2 2.5)
  • mto: (6437.3.27 2.5)
  • mto: This revision was merged to the branch mainline in revision 6451.
  • Revision ID: larstiq@larstiq.dyndns.org-20120125190722-1bf3j0d6my1zd8v1
ensure files actually hit the disk under pypy

Show diffs side-by-side

added added

removed removed

Lines of Context:
1887
1887
        os.mkdir('a')
1888
1888
        a = BzrDir.create_standalone_workingtree('a')
1889
1889
        os.mkdir('a/foo')
1890
 
        file('a/foo/bar', 'wb').write('contents')
 
1890
        with file('a/foo/bar', 'wb') as f: f.write('contents')
1891
1891
        os.symlink('a/foo/bar', 'a/foo/baz')
1892
1892
        a.add(['foo', 'foo/bar', 'foo/baz'])
1893
1893
        a.commit('initial commit')