Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6fbcae1

Browse filesBrowse 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
Copy full SHA for 6fbcae1

1 file changed

+8-8Lines changed: 8 additions & 8 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎cf/test/test_pp.py‎

Copy file name to clipboardExpand all lines: cf/test/test_pp.py
+8-8Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.