/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/test_textfile.py

Merge test-run support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
class TextPath(TestCaseInTempDir):
44
44
 
45
45
    def test_text_file(self):
46
 
        with open('boo', 'wb') as f:
47
 
            f.write(b'ab' * 2048)
 
46
        with open('boo', 'wb') as f: f.write(b'ab' * 2048)
48
47
        check_text_path('boo')
49
 
        with open('boo', 'wb') as f:
50
 
            f.write(b'a' * 1023 + b'\x00')
 
48
        with open('boo', 'wb') as f: f.write(b'a' * 1023 + b'\x00')
51
49
        self.assertRaises(BinaryFile, check_text_path, 'boo')