Skip to content

Commit

Permalink
re-enable some tests on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ndjensen committed Aug 17, 2021
1 parent 57e885e commit 786fd66
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion src/test/python/test_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ def test_arithmetic_error(self):
except ArithmeticError as ex:
pass

@unittest.skipIf(sys.platform.startswith("win"), "subprocess complications on Windows")
def test_exception_cause(self):
jep_pipe(build_java_process_cmd('jep.test.TestExceptionCause'))

Expand Down
2 changes: 1 addition & 1 deletion src/test/python/test_getvalue.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from jep_pipe import build_java_process_cmd


@unittest.skipIf(sys.platform.startswith("win"), "subprocess complications on Windows")
@unittest.skipIf(sys.platform.startswith("win"), "temporary file permissions issues on Windows")
class TestGetValue(unittest.TestCase):

def test_get_collection_boxing(self):
Expand Down
1 change: 0 additions & 1 deletion src/test/python/test_invoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@

class TestInvokes(unittest.TestCase):

@unittest.skipIf(sys.platform.startswith("win"), "subprocess complications on Windows")
def test_inits(self):
jep_pipe(build_java_process_cmd('jep.test.TestInvoke'))
1 change: 0 additions & 1 deletion src/test/python/test_iterators.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ def test_iteration(self):
for i in x:
self.assertIn("a", i)

@unittest.skipIf(sys.platform.startswith("win"), "subprocess complications on Windows")
def test_iter_itr_crash(self):
jep_pipe(build_python_process_cmd(
'src/test/python/subprocess/iter_itr_crash.py'))
Expand Down
1 change: 0 additions & 1 deletion src/test/python/test_numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ def setUp(self, test=None):
self.test = TestClass()
self.printout = False

@unittest.skipIf(sys.platform.startswith("win"), "subprocess complications on Windows")
def testSetGet(self):
"""
Tests using Jep.set(String, Object) for java NDArrays
Expand Down
1 change: 0 additions & 1 deletion src/test/python/test_preinits.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@

class TestPreInits(unittest.TestCase):

@unittest.skipIf(sys.platform.startswith("win"), "subprocess complications on Windows")
def test_inits(self):
jep_pipe(build_java_process_cmd('jep.test.TestPreInitVariables'))
1 change: 0 additions & 1 deletion src/test/python/test_regressions.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ def test_static_access_to_nonstatic_field(self):
with self.assertRaises(TypeError):
TestFieldTypes.objectString = ""

@unittest.skipIf(sys.platform.startswith("win"), "subprocess complications on Windows")
def test_close_with_threads(self):
jep_pipe(build_java_process_cmd('jep.test.TestCloseWithThreads'))

1 change: 0 additions & 1 deletion src/test/python/test_shared_interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from jep_pipe import jep_pipe
from jep_pipe import build_java_process_cmd

@unittest.skipIf(sys.platform.startswith("win"), "subprocess complications on Windows")
class TestSharedInterpreter(unittest.TestCase):

def test_shared_interpreter(self):
Expand Down
1 change: 0 additions & 1 deletion src/test/python/test_shared_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import jep


@unittest.skipIf(sys.platform.startswith("win"), "subprocess complications on Windows")
class TestSharedModules(unittest.TestCase):

def test_shared_modules(self):
Expand Down
1 change: 0 additions & 1 deletion src/test/python/test_synchronized.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

class TestSynchronized(unittest.TestCase):

@unittest.skipIf(sys.platform.startswith("win"), "subprocess complications on Windows")
def test_synchronized(self):
"""
Tests that multiple threads in both Python and Java using the same Java
Expand Down

0 comments on commit 786fd66

Please sign in to comment.