

def test_numbers(self):
    eq = self.assertEqual
    eq(r(123), repr(123))
    eq(r(123), repr(123))
    eq(r((1.0 / 3)), repr((1.0 / 3)))
    n = (10 ** 100)
    expected = ((repr(n)[:18] + '...') + repr(n)[(- 19):])
    eq(r(n), expected)

dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/test_reprlib.py ReprTests.test_numbers/original