Skip to content

Commit

Permalink
removed unittest2 from mllib testing.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanCutler committed Nov 18, 2018
1 parent ed834f5 commit a188076
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions python/pyspark/testing/mllibutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,7 @@
# limitations under the License.
#

import sys

if sys.version_info[:2] <= (2, 6):
try:
import unittest2 as unittest
except ImportError:
sys.stderr.write('Please install unittest2 to test with Python 2.6 or earlier')
sys.exit(1)
else:
import unittest
import unittest

from pyspark import SparkContext
from pyspark.serializers import PickleSerializer
Expand Down

0 comments on commit a188076

Please sign in to comment.