[Python-checkins] r79380 - python/branches/py3k/Lib/test/test_inspect.py
florent.xicluna
python-checkins at python.org
Wed Mar 24 18:37:49 CET 2010
Author: florent.xicluna
Date: Wed Mar 24 18:37:49 2010
New Revision: 79380
Log:
Revert improper merge in test_inspect (r79251).
Modified:
python/branches/py3k/Lib/test/test_inspect.py
Modified: python/branches/py3k/Lib/test/test_inspect.py
==============================================================================
--- python/branches/py3k/Lib/test/test_inspect.py (original)
+++ python/branches/py3k/Lib/test/test_inspect.py Wed Mar 24 18:37:49 2010
@@ -166,12 +166,12 @@
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)
More information about the Python-checkins
mailing list