Skip to content

Commit

Permalink
disable MacOS Spark test
Browse files Browse the repository at this point in the history
  • Loading branch information
dvadym committed Aug 24, 2023
1 parent 1730c36 commit 73366e9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/pipeline_backend_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,11 +352,8 @@ def test_sum_per_key(self):
result = self.backend.sum_per_key(data).collect()
self.assertEqual(set(result), {(1, 6), (2, -2), (3, 8), (10, 5)})

@unittest.skipIf(
sys.platform == "darwin" and sys.version_info.major == 3 and
(sys.version_info.minor == 8 or sys.version_info.minor == 9),
"There are some problems with PySpark setup on macOS in python 3.8 "
"and 3.9.")
@unittest.skipIf(sys.platform == "darwin",
"There are some problems with PySpark setup on macOS")
def test_combine_accumulators_per_key(self):
data = self.sc.parallelize([(1, 2), (2, 1), (1, 4), (3, 8), (2, 3)])
rdd = self.backend.group_by_key(data)
Expand Down

0 comments on commit 73366e9

Please sign in to comment.