Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c857592

Browse files
committed
Revert improper merge in test_inspect (r79251).
1 parent 60f9aab commit c857592

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Lib/test/test_inspect.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,12 @@ def test_stack(self):
166166

167167
def test_trace(self):
168168
self.assertEqual(len(git.tr), 3)
169-
self.assertEqual(git.tr[0][1:], (modfile, 43, 'argue',
170-
[' spam(a, b, c)\n'], 0))
171-
self.assertEqual(git.tr[1][1:], (modfile, 9, 'spam',
172-
[' eggs(b + d, c + f)\n'], 0))
173-
self.assertEqual(git.tr[2][1:], (modfile, 18, 'eggs',
174-
[' q = y / 0\n'], 0))
169+
self.assertEqual(revise(*git.tr[0][1:]),
170+
(modfile, 43, 'argue', [' spam(a, b, c)\n'], 0))
171+
self.assertEqual(revise(*git.tr[1][1:]),
172+
(modfile, 9, 'spam', [' eggs(b + d, c + f)\n'], 0))
173+
self.assertEqual(revise(*git.tr[2][1:]),
174+
(modfile, 18, 'eggs', [' q = y / 0\n'], 0))
175175

176176
def test_frame(self):
177177
args, varargs, varkw, locals = inspect.getargvalues(mod.fr)

0 commit comments

Comments
 (0)