We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ab8c7a commit 3344a21Copy full SHA for 3344a21
python/pyspark/tests.py
@@ -877,7 +877,8 @@ def test_sortByKey_uses_all_partitions_not_only_first_and_last(self):
877
def test_pipe_functions(self):
878
data = ['1', '2', '3']
879
rdd = self.sc.parallelize(data)
880
- self.assertRaises(Exception, rdd.pipe('cc').collect())
+ with QuietTest(self.sc):
881
+ self.assertRaises(Exception, rdd.pipe('cc').collect())
882
result = rdd.pipe('cat').collect().sort()
883
[self.assertEqual(x, y) for x, y in zip(data, result)]
884
0 commit comments