diff options
-rw-r--r-- | distutils2/tests/test_pypi_wrapper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/distutils2/tests/test_pypi_wrapper.py b/distutils2/tests/test_pypi_wrapper.py index 4a9f8ca..e86904a 100644 --- a/distutils2/tests/test_pypi_wrapper.py +++ b/distutils2/tests/test_pypi_wrapper.py @@ -23,7 +23,7 @@ class TestPyPIWrapper(unittest.TestCase): def test_wrapper(self): index = Indexes._indexes['one'] - func = switch_index_if_fails(getattr(index, 'test'), Indexes) + func = switch_index_if_fails(index.test, Indexes) self.assertEqual(func(), 'OK') |