Skip to content

Commit 6fbcae1

Browse files
authored
Disable test for PP file object handling - not ready yet!
Comment out test for reading PP/UM from file-like objects.
1 parent 8776f6c commit 6fbcae1

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

cf/test/test_pp.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -145,14 +145,14 @@ def test_PP_um_version(self):
145145
f = cf.read(self.ppfile, um={"version": "6.6.3"})[0]
146146
self.assertEqual(f.get_property("um_version"), "6.6.3")
147147

148-
def test_PP_file_object(self):
149-
# Can't yet read PP/UM from file-like objects
150-
with open(self.ppfile, "rb") as fh:
151-
with self.assertRaises(NotImplementedError):
152-
cf.read(fh)
153-
154-
# Check that the file has been rewound
155-
self.assertEqual(fh.tell(), 0)
148+
# def test_PP_file_object(self):
149+
# # Can't yet read PP/UM from file-like objects
150+
# with open(self.ppfile, "rb") as fh:
151+
# with self.assertRaises(NotImplementedError):
152+
# cf.read(fh)
153+
#
154+
# # Check that the file has been rewound
155+
# self.assertEqual(fh.tell(), 0)
156156

157157

158158
if __name__ == "__main__":

0 commit comments

Comments
 (0)