From eb8a81b1d1dc8f85101b40cefffe0659d9f8a69d Mon Sep 17 00:00:00 2001 From: Janosh Riebesell Date: Fri, 5 Aug 2022 19:10:03 -0700 Subject: [PATCH] fix typo --- unittest2pytest/fixes/fix_self_assert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittest2pytest/fixes/fix_self_assert.py b/unittest2pytest/fixes/fix_self_assert.py index c1b3242..62326ad 100644 --- a/unittest2pytest/fixes/fix_self_assert.py +++ b/unittest2pytest/fixes/fix_self_assert.py @@ -124,7 +124,7 @@ def AlmostOp(places_op, delta_op, first, second, kws): # delta return CompOp(delta_op, abs_op, kws['delta'], {}) else: - # `7` is the default in unittest.TestCase.asserAlmostEqual + # `7` is the default in unittest.TestCase.assertAlmostEqual places = kws['places'] or Number(7) places.prefix = " " round_op = Call(Name('round'), (abs_op, Comma(), places))