summaryrefslogtreecommitdiff
path: root/numpy/distutils/tests
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/distutils/tests')
-rw-r--r--numpy/distutils/tests/f2py_ext/tests/test_fib2.py2
-rw-r--r--numpy/distutils/tests/f2py_f90_ext/tests/test_foo.py2
-rw-r--r--numpy/distutils/tests/gen_ext/tests/test_fib3.py2
-rw-r--r--numpy/distutils/tests/pyrex_ext/tests/test_primes.py2
-rw-r--r--numpy/distutils/tests/swig_ext/tests/test_example.py2
-rw-r--r--numpy/distutils/tests/swig_ext/tests/test_example2.py2
-rw-r--r--numpy/distutils/tests/test_fcompiler_gnu.py4
-rw-r--r--numpy/distutils/tests/test_misc_util.py6
8 files changed, 11 insertions, 11 deletions
diff --git a/numpy/distutils/tests/f2py_ext/tests/test_fib2.py b/numpy/distutils/tests/f2py_ext/tests/test_fib2.py
index cbb0498d2..9a52ab17a 100644
--- a/numpy/distutils/tests/f2py_ext/tests/test_fib2.py
+++ b/numpy/distutils/tests/f2py_ext/tests/test_fib2.py
@@ -4,7 +4,7 @@ set_package_path()
from f2py_ext import fib2
del sys.path[0]
-class test_fib2(NumpyTestCase):
+class TestFib2(NumpyTestCase):
def check_fib(self):
assert_array_equal(fib2.fib(6),[0,1,1,2,3,5])
diff --git a/numpy/distutils/tests/f2py_f90_ext/tests/test_foo.py b/numpy/distutils/tests/f2py_f90_ext/tests/test_foo.py
index da52c8aff..3d48f6ca9 100644
--- a/numpy/distutils/tests/f2py_f90_ext/tests/test_foo.py
+++ b/numpy/distutils/tests/f2py_f90_ext/tests/test_foo.py
@@ -4,7 +4,7 @@ set_package_path()
from f2py_f90_ext import foo
del sys.path[0]
-class test_foo(NumpyTestCase):
+class TestFoo(NumpyTestCase):
def check_foo_free(self):
assert_equal(foo.foo_free.bar13(),13)
diff --git a/numpy/distutils/tests/gen_ext/tests/test_fib3.py b/numpy/distutils/tests/gen_ext/tests/test_fib3.py
index e1c1ff070..b962a12aa 100644
--- a/numpy/distutils/tests/gen_ext/tests/test_fib3.py
+++ b/numpy/distutils/tests/gen_ext/tests/test_fib3.py
@@ -4,7 +4,7 @@ set_package_path()
from gen_ext import fib3
del sys.path[0]
-class test_fib3(NumpyTestCase):
+class TestFib3(NumpyTestCase):
def check_fib(self):
assert_array_equal(fib3.fib(6),[0,1,1,2,3,5])
diff --git a/numpy/distutils/tests/pyrex_ext/tests/test_primes.py b/numpy/distutils/tests/pyrex_ext/tests/test_primes.py
index bb1e4c332..1ca5ed8e7 100644
--- a/numpy/distutils/tests/pyrex_ext/tests/test_primes.py
+++ b/numpy/distutils/tests/pyrex_ext/tests/test_primes.py
@@ -5,7 +5,7 @@ set_package_path()
from pyrex_ext.primes import primes
restore_path()
-class test_primes(NumpyTestCase):
+class TestPrimes(NumpyTestCase):
def check_simple(self, level=1):
l = primes(10)
assert_equal(l, [2, 3, 5, 7, 11, 13, 17, 19, 23, 29])
diff --git a/numpy/distutils/tests/swig_ext/tests/test_example.py b/numpy/distutils/tests/swig_ext/tests/test_example.py
index 71cb3d2c5..f24162077 100644
--- a/numpy/distutils/tests/swig_ext/tests/test_example.py
+++ b/numpy/distutils/tests/swig_ext/tests/test_example.py
@@ -4,7 +4,7 @@ set_package_path()
from swig_ext import example
restore_path()
-class test_example(NumpyTestCase):
+class TestExample(NumpyTestCase):
def check_fact(self):
assert_equal(example.fact(10),3628800)
diff --git a/numpy/distutils/tests/swig_ext/tests/test_example2.py b/numpy/distutils/tests/swig_ext/tests/test_example2.py
index 1d8e73a12..3150e1a16 100644
--- a/numpy/distutils/tests/swig_ext/tests/test_example2.py
+++ b/numpy/distutils/tests/swig_ext/tests/test_example2.py
@@ -4,7 +4,7 @@ set_package_path()
from swig_ext import example2
restore_path()
-class test_example2(NumpyTestCase):
+class TestExample2(NumpyTestCase):
def check_zoo(self):
z = example2.Zoo()
diff --git a/numpy/distutils/tests/test_fcompiler_gnu.py b/numpy/distutils/tests/test_fcompiler_gnu.py
index c6ccea054..002d360b9 100644
--- a/numpy/distutils/tests/test_fcompiler_gnu.py
+++ b/numpy/distutils/tests/test_fcompiler_gnu.py
@@ -21,7 +21,7 @@ gfortran_version_strings = [
('GNU Fortran (GCC) 4.3.0 20070316 (experimental)', '4.3.0'),
]
-class test_g77_versions(NumpyTestCase):
+class TestG77Versions(NumpyTestCase):
def test_g77_version(self):
fc = numpy.distutils.fcompiler.new_fcompiler(compiler='gnu')
for vs, version in g77_version_strings:
@@ -34,7 +34,7 @@ class test_g77_versions(NumpyTestCase):
v = fc.version_match(vs)
assert v is None, (vs, v)
-class test_gortran_versions(NumpyTestCase):
+class TestGortranVersions(NumpyTestCase):
def test_gfortran_version(self):
fc = numpy.distutils.fcompiler.new_fcompiler(compiler='gnu95')
for vs, version in gfortran_version_strings:
diff --git a/numpy/distutils/tests/test_misc_util.py b/numpy/distutils/tests/test_misc_util.py
index b75eb8cf2..4d2404092 100644
--- a/numpy/distutils/tests/test_misc_util.py
+++ b/numpy/distutils/tests/test_misc_util.py
@@ -8,7 +8,7 @@ from os.path import join, sep
ajoin = lambda *paths: join(*((sep,)+paths))
-class test_appendpath(NumpyTestCase):
+class TestAppendpath(NumpyTestCase):
def check_1(self):
assert_equal(appendpath('prefix','name'),join('prefix','name'))
@@ -32,7 +32,7 @@ class test_appendpath(NumpyTestCase):
assert_equal(appendpath('/prefix/sub/sub2','/prefix/sub/sup/name'),
ajoin('prefix','sub','sub2','sup','name'))
-class test_minrelpath(NumpyTestCase):
+class TestMinrelpath(NumpyTestCase):
def check_1(self):
import os
@@ -47,7 +47,7 @@ class test_minrelpath(NumpyTestCase):
assert_equal(minrelpath(n('.././..')),n('../..'))
assert_equal(minrelpath(n('aa/bb/.././../dd')),n('dd'))
-class test_gpaths(NumpyTestCase):
+class TestGpaths(NumpyTestCase):
def check_gpaths(self):
local_path = minrelpath(os.path.join(os.path.dirname(__file__),'..'))