Update line number

This commit is contained in:
Itamar Turner-Trauring 2024-02-15 12:56:00 -05:00
parent b856238110
commit 09d78b129b

View File

@ -27,7 +27,7 @@ class NoArgumentException(Exception):
class HumanReadable(unittest.TestCase):
def test_repr(self):
hr = humanreadable.hr
self.failUnlessEqual(hr(foo), "<foo() at test_humanreadable.py:24>")
self.failUnlessEqual(hr(foo), "<foo() at test_humanreadable.py:20>")
self.failUnlessEqual(hr(self.test_repr),
"<bound method HumanReadable.test_repr of <allmydata.test.test_humanreadable.HumanReadable testMethod=test_repr>>")
self.failUnlessEqual(hr(long(1)), "1")