Skip to content

Commit f72f704

Browse files
committed
minor indentation-only fix from PR62 uncommenting
git-svn-id: svn+ssh://svn.code.sf.net/p/migrid/code/trunk@6053 b75ad72c-e7d7-11dd-a971-7dbc132099af
1 parent f54e3e7 commit f72f704

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

tests/test_mig_shared_fileio.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -101,28 +101,28 @@ def test_store_bytes_at_offset(self):
101101

102102
@unittest.skip("TODO: enable again - requires the temporarily disabled auto mode select")
103103
def test_store_bytes_in_text_mode(self):
104-
fileio.write_chunk(self.tmp_path, DUMMY_BYTES, 0, self.logger,
105-
mode="r+")
104+
fileio.write_chunk(self.tmp_path, DUMMY_BYTES, 0, self.logger,
105+
mode="r+")
106106

107-
with open(self.tmp_path, 'rb') as file:
108-
content = file.read(1024)
109-
self.assertEqual(len(content), DUMMY_BYTES_LENGTH)
110-
self.assertEqual(content[:], DUMMY_BYTES)
107+
with open(self.tmp_path, 'rb') as file:
108+
content = file.read(1024)
109+
self.assertEqual(len(content), DUMMY_BYTES_LENGTH)
110+
self.assertEqual(content[:], DUMMY_BYTES)
111111

112112
@unittest.skip("TODO: enable again - requires the temporarily disabled auto mode select")
113113
def test_store_unicode(self):
114-
fileio.write_chunk(self.tmp_path, DUMMY_UNICODE, 0, self.logger,
115-
mode='r+')
114+
fileio.write_chunk(self.tmp_path, DUMMY_UNICODE, 0, self.logger,
115+
mode='r+')
116116

117-
with open(self.tmp_path, 'r') as file:
118-
content = file.read(1024)
119-
self.assertEqual(len(content), DUMMY_UNICODE_LENGTH)
120-
self.assertEqual(content[:], DUMMY_UNICODE)
117+
with open(self.tmp_path, 'r') as file:
118+
content = file.read(1024)
119+
self.assertEqual(len(content), DUMMY_UNICODE_LENGTH)
120+
self.assertEqual(content[:], DUMMY_UNICODE)
121121

122122
@unittest.skip("TODO: enable again - requires the temporarily disabled auto mode select")
123123
def test_store_unicode_in_binary_mode(self):
124-
fileio.write_chunk(self.tmp_path, DUMMY_UNICODE, 0, self.logger,
125-
mode='r+b')
124+
fileio.write_chunk(self.tmp_path, DUMMY_UNICODE, 0, self.logger,
125+
mode='r+b')
126126

127127
with open(self.tmp_path, 'r') as file:
128128
content = file.read(1024)

0 commit comments

Comments
 (0)