summaryrefslogtreecommitdiff
path: root/tools/swig
diff options
context:
space:
mode:
authorgfyoung <gfyoung17@gmail.com>2015-12-20 01:08:29 -0800
committergfyoung <gfyoung17@gmail.com>2015-12-20 01:08:29 -0800
commit0574f62bf58eada5860fe0620151aede85a8dae4 (patch)
tree03c72921d245369a4e4042344fe877fc05e8583b /tools/swig
parent144c34b8ecd051e05a93c6268290eadb1827afb0 (diff)
downloadpython-numpy-0574f62bf58eada5860fe0620151aede85a8dae4.tar.gz
python-numpy-0574f62bf58eada5860fe0620151aede85a8dae4.tar.bz2
python-numpy-0574f62bf58eada5860fe0620151aede85a8dae4.zip
MAINT: Remove commented out code blocks
Diffstat (limited to 'tools/swig')
-rw-r--r--tools/swig/test/testFortran.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/tools/swig/test/testFortran.py b/tools/swig/test/testFortran.py
index c77d728e9..b7783be90 100644
--- a/tools/swig/test/testFortran.py
+++ b/tools/swig/test/testFortran.py
@@ -24,16 +24,6 @@ class FortranTestCase(unittest.TestCase):
self.typeStr = "double"
self.typeCode = "d"
- # This test used to work before the update to avoid deprecated code. Now it
- # doesn't work. As best I can tell, it never should have worked, so I am
- # commenting it out. --WFS
- # def testSecondElementContiguous(self):
- # "Test Fortran matrix initialized from reshaped default array"
- # print(self.typeStr, "... ", end="", file=sys.stderr)
- # second = Fortran.__dict__[self.typeStr + "SecondElement"]
- # matrix = np.arange(9).reshape(3, 3).astype(self.typeCode)
- # self.assertEquals(second(matrix), 3)
-
# Test (type* IN_FARRAY2, int DIM1, int DIM2) typemap
def testSecondElementFortran(self):
"Test Fortran matrix initialized from reshaped NumPy fortranarray"