Github user JoshRosen commented on a diff in the pull request:
https://github.com/apache/spark/pull/3417#discussion_r20761130
--- Diff: python/pyspark/tests.py ---
@@ -237,27 +237,6 @@ def foo():
self.assertTrue("exit" in foo.func_code.co_names)
ser.dumps(foo)
- def _test_serializer(self, ser):
- from StringIO import StringIO
- io = StringIO()
- ser.dump_stream(["abc", u"123", range(5)], io)
- io.seek(0)
- self.assertEqual(["abc", u"123", range(5)],
list(ser.load_stream(io)))
- size = io.tell()
- ser.dump_stream(range(1000), io)
- io.seek(0)
- first = SizeLimitedStream(io, size)
- self.assertEqual(["abc", u"123", range(5)],
list(ser.load_stream(first)))
- self.assertEqual(range(1000), list(ser.load_stream(io)))
-
- def test_compressed_serializer(self):
--- End diff --
Should we leave this in place as a test of the compressed serializer, since
we haven't completely removed that serializer?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]