summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_inspect.py
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2010-03-24 17:37:49 (GMT)
committerFlorent Xicluna <florent.xicluna@gmail.com>2010-03-24 17:37:49 (GMT)
commitc857592dd88b771b66a556c22a4e5ab7c5a13e3d (patch)
tree460018d25046e9455a41415c95272f8e91195ab9 /Lib/test/test_inspect.py
parent60f9aab7faca9f6c7f12908a524f428a93f6039a (diff)
downloadcpython-c857592dd88b771b66a556c22a4e5ab7c5a13e3d.zip
cpython-c857592dd88b771b66a556c22a4e5ab7c5a13e3d.tar.gz
cpython-c857592dd88b771b66a556c22a4e5ab7c5a13e3d.tar.bz2
Revert improper merge in test_inspect (r79251).
Diffstat (limited to 'Lib/test/test_inspect.py')
-rw-r--r--Lib/test/test_inspect.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py
index 1daab64..35fd775 100644
--- a/Lib/test/test_inspect.py
+++ b/Lib/test/test_inspect.py
@@ -166,12 +166,12 @@ class TestInterpreterStack(IsTestBase):
def test_trace(self):
self.assertEqual(len(git.tr), 3)
- self.assertEqual(git.tr[0][1:], (modfile, 43, 'argue',
- [' spam(a, b, c)\n'], 0))
- self.assertEqual(git.tr[1][1:], (modfile, 9, 'spam',
- [' eggs(b + d, c + f)\n'], 0))
- self.assertEqual(git.tr[2][1:], (modfile, 18, 'eggs',
- [' q = y / 0\n'], 0))
+ self.assertEqual(revise(*git.tr[0][1:]),
+ (modfile, 43, 'argue', [' spam(a, b, c)\n'], 0))
+ self.assertEqual(revise(*git.tr[1][1:]),
+ (modfile, 9, 'spam', [' eggs(b + d, c + f)\n'], 0))
+ self.assertEqual(revise(*git.tr[2][1:]),
+ (modfile, 18, 'eggs', [' q = y / 0\n'], 0))
def test_frame(self):
args, varargs, varkw, locals = inspect.getargvalues(mod.fr)