Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions python/pyspark/tests/test_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
# limitations under the License.
#
import os
import sys
import tempfile
import threading
import time
Expand Down Expand Up @@ -188,9 +189,9 @@ def test_reuse_worker_of_parallelize_range(self):


@unittest.skipIf(
not has_resource_module,
not has_resource_module or sys.platform != 'linux',
"Memory limit feature in Python worker is dependent on "
"Python's 'resource' module; however, not found.")
"Python's 'resource' module on Linux; however, not found or not on Linux.")
class WorkerMemoryTest(unittest.TestCase):

def setUp(self):
Expand Down