Skip to content

Commit

Permalink
Fixed Py4J tutorial checking of prerequirements
Browse files Browse the repository at this point in the history
  • Loading branch information
tcalmant committed Aug 8, 2018
1 parent 7a2254b commit d4e8d3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/rsa/test_py4j_tutorial.py
Expand Up @@ -15,7 +15,7 @@
import unittest

if sys.version_info[0] < 3:
unittest.skip("The Py4J provider requires Python 3.")
raise unittest.SkipTest("The Py4J provider requires Python 3.")

# Standard library
from contextlib import contextmanager
Expand Down Expand Up @@ -203,7 +203,7 @@ def setUpClass(cls):
)
java.wait()
except OSError:
unittest.skip("Java is not installed.")
raise unittest.SkipTest("Java is not installed.")

@classmethod
def tearDownClass(cls):
Expand Down

0 comments on commit d4e8d3a

Please sign in to comment.