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
7 changes: 5 additions & 2 deletions python/pyspark/errors/tests/test_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@ def test_error_classes_sorted(self):
for i in range(len(error_class_names) - 1):
self.assertTrue(
error_class_names[i] < error_class_names[i + 1],
f"Error class [{error_class_names[i]}] should place"
f"after [{error_class_names[i + 1]}]",
f"Error class [{error_class_names[i]}] should place "
f"after [{error_class_names[i + 1]}]."
"\n\nRun 'cd $SPARK_HOME; bin/pyspark' and "
"'from pyspark.errors.exceptions import _write_self; _write_self()' "
"to automatically sort them.",
)

def test_error_classes_duplicated(self):
Expand Down