diff --git a/com.ibm.wala.cast.python.ml.test/source/com/ibm/wala/cast/python/ml/test/TestTensorflow2Model.java b/com.ibm.wala.cast.python.ml.test/source/com/ibm/wala/cast/python/ml/test/TestTensorflow2Model.java index 1574cdf8..bfe5a9c4 100644 --- a/com.ibm.wala.cast.python.ml.test/source/com/ibm/wala/cast/python/ml/test/TestTensorflow2Model.java +++ b/com.ibm.wala.cast.python.ml.test/source/com/ibm/wala/cast/python/ml/test/TestTensorflow2Model.java @@ -2042,157 +2042,6 @@ public void testModule20() } /** - * Test for https://github.com/wala/ML/issues/177. - * - *

This test should not need a PYTHONPATH. - */ - @Test - public void testModule14() - throws ClassHierarchyException, IllegalArgumentException, CancelException, IOException { - test( - new String[] {"proj10/C/__init__.py", "proj10/C/B.py", "proj10/A.py"}, - "C/B.py", - "f", - "proj10", - 1, - 1, - new int[] {2}); - } - - /** - * Test for https://github.com/wala/ML/issues/178. - * - *

This test should not need a PYTHONPATH. - */ - @Test - public void testModule15() - throws ClassHierarchyException, IllegalArgumentException, CancelException, IOException { - test( - new String[] {"proj11/C/__init__.py", "proj11/C/B.py", "proj11/A.py"}, - "C/B.py", - "f", - "proj11", - 1, - 1, - new int[] {2}); - } - - /** This test should not need a PYTHONPATH. */ - @Test - public void testModule16() - throws ClassHierarchyException, IllegalArgumentException, CancelException, IOException { - test( - new String[] {"proj12/C/__init__.py", "proj12/C/B.py", "proj12/A.py"}, - "C/B.py", - "f", - "proj12", - 1, - 1, - new int[] {2}); - } - - /** - * Test for https://github.com/wala/ML/issues/178. Multi-submodule case. See - * https://docs.python.org/3/tutorial/modules.html#packages. - * - *

This test should not need a PYTHONPATH. - */ - @Test - public void testModule17() - throws ClassHierarchyException, IllegalArgumentException, CancelException, IOException { - test( - new String[] { - "proj13/C/__init__.py", "proj13/C/D/__init__.py", "proj13/C/D/B.py", "proj13/A.py" - }, - "C/D/B.py", - "f", - "proj13", - 1, - 1, - new int[] {2}); - } - - /** - * Test for https://github.com/wala/ML/issues/178. Multi-submodule case. See - * https://docs.python.org/3/tutorial/modules.html#packages. This test has multiple modules in - * different packages. - * - *

This test should not need a PYTHONPATH. - */ - @Test - public void testModule18() - throws ClassHierarchyException, IllegalArgumentException, CancelException, IOException { - test( - new String[] { - "proj14/C/__init__.py", - "proj14/C/E.py", - "proj14/C/D/__init__.py", - "proj14/C/D/B.py", - "proj14/A.py" - }, - "C/D/B.py", - "f", - "proj14", - 1, - 1, - new int[] {2}); - - test( - new String[] { - "proj14/C/__init__.py", - "proj14/C/E.py", - "proj14/C/D/__init__.py", - "proj14/C/D/B.py", - "proj14/A.py" - }, - "C/E.py", - "g", - "proj14", - 1, - 1, - new int[] {2}); - } - - /** - * Test for https://github.com/wala/ML/issues/177. - * - *

This test should not need a PYTHONPATH. - */ - @Test - public void testModule19() - throws ClassHierarchyException, IllegalArgumentException, CancelException, IOException { - test( - new String[] { - "proj15/C/__init__.py", "proj15/C/D/__init__.py", "proj15/C/D/B.py", "proj15/A.py" - }, - "C/D/B.py", - "f", - "proj15", - 1, - 1, - new int[] {2}); - } - - /** - * Test for https://github.com/wala/ML/issues/178. - * - *

This test should not need a PYTHONPATH. - */ - @Test - public void testModule20() - throws ClassHierarchyException, IllegalArgumentException, CancelException, IOException { - test( - new String[] {"proj16/C/__init__.py", "proj16/C/B.py", "proj16/A.py"}, - "C/B.py", - "D.f", - "proj16", - 1, - 1, - new int[] {3}); - } - - /** ->>>>>>> 8beb49c (Enhancements to PYTHONPATH (#94)) * Test for https://github.com/wala/ML/issues/178. * *

This test should not need a PYTHONPATH.