diff options
author | Christian Heimes <christian@cheimes.de> | 2008-02-23 15:01:06 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-02-23 15:01:06 (GMT) |
commit | 09aaa88328a5083469b2682230c7f3c62942afab (patch) | |
tree | 5574f715c55f9287b78af484989160d11821fef3 /Lib/test/test_inspect.py | |
parent | 90c3d9b99563abebbd0737c711be1c9313c1547b (diff) | |
download | cpython-09aaa88328a5083469b2682230c7f3c62942afab.zip cpython-09aaa88328a5083469b2682230c7f3c62942afab.tar.gz cpython-09aaa88328a5083469b2682230c7f3c62942afab.tar.bz2 |
Patch from Georg Brandl: Fix co_lineno of decorated function and class objects. If you see an error in test_inspect please delete all pyc files.
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 35a3b06..794e4fa 100644 --- a/Lib/test/test_inspect.py +++ b/Lib/test/test_inspect.py @@ -239,7 +239,7 @@ class TestDecorators(GetSourceBase): fodderFile = mod2 def test_wrapped_decorator(self): - self.assertSourceEqual(mod2.wrapped, 16, 17) + self.assertSourceEqual(mod2.wrapped, 14, 17) def test_replacing_decorator(self): self.assertSourceEqual(mod2.gone, 9, 10) |