Skip to content

Commit

Permalink
TST: sparse/umfpack: fix multiple inheritance from TestCase
Browse files Browse the repository at this point in the history
The tearDown method would otherwise be overwritten with the one from
TestCase.
  • Loading branch information
pv authored and rgommers committed Feb 21, 2012
1 parent dbe2210 commit c1244e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scipy/sparse/linalg/dsolve/umfpack/tests/test_umfpack.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import warnings
import random

from numpy.testing import TestCase, assert_array_almost_equal, dec, \
from numpy.testing import assert_array_almost_equal, dec, \
decorate_methods
from numpy.testing.utils import WarningManager

Expand Down Expand Up @@ -41,7 +41,7 @@ def tearDown(self):
self.mgr.__exit__()


class TestSolvers(TestCase, _DeprecationAccept):
class TestSolvers(_DeprecationAccept):
"""Tests inverting a sparse linear system"""

def test_solve_complex_without_umfpack(self):
Expand Down Expand Up @@ -127,7 +127,7 @@ def setUp(self):

_DeprecationAccept.setUp(self)

class TestFactorization(TestCase, _DeprecationAccept):
class TestFactorization(_DeprecationAccept):
"""Tests factorizing a sparse linear system"""

def test_complex_lu(self):
Expand Down

0 comments on commit c1244e1

Please sign in to comment.