diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-04-27 21:59:29 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-04-27 21:59:29 (GMT) |
commit | 75cbd73666ce2a616454cdfed91314145eaa04f4 (patch) | |
tree | 4dea75e11a82645c9ba39f3b762c7b9fcd5c4e2c /Lib/test/test_inspect.py | |
parent | a782ccaf6c75294a760a52e06ddb8d4ecd893311 (diff) | |
download | cpython-75cbd73666ce2a616454cdfed91314145eaa04f4.zip cpython-75cbd73666ce2a616454cdfed91314145eaa04f4.tar.gz cpython-75cbd73666ce2a616454cdfed91314145eaa04f4.tar.bz2 |
#11938: Fix duplicated test name in test_inspect. Patch by Andreas Stührk.
Diffstat (limited to 'Lib/test/test_inspect.py')
-rw-r--r-- | Lib/test/test_inspect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py index 7d7e16e..f5dff1e 100644 --- a/Lib/test/test_inspect.py +++ b/Lib/test/test_inspect.py @@ -801,7 +801,7 @@ class TestGetattrStatic(unittest.TestCase): thing = Thing() self.assertEqual(inspect.getattr_static(thing, 'x'), Thing.x) - def test_descriptor(self): + def test_descriptor_raises_AttributeError(self): class descriptor(object): def __get__(*_): raise AttributeError("I'm pretending not to exist") |