def test_basics(self): eq_(digitgroupseparator(None), None) eq_(digitgroupseparator(1000), '1,000') eq_(digitgroupseparator(-1000), '-1,000')
def test_basics(self): assert digitgroupseparator(None) is None assert digitgroupseparator(1000) == "1,000" assert digitgroupseparator(-1000) == "-1,000" assert digitgroupseparator(1000000) == "1,000,000"
def test_basics(self): eq_(digitgroupseparator(None), None) eq_(digitgroupseparator(1000), '1,000') eq_(digitgroupseparator(-1000), '-1,000')
def test_basics(self): assert digitgroupseparator(None) is None assert digitgroupseparator(1000) == '1,000' assert digitgroupseparator(-1000) == '-1,000' assert digitgroupseparator(1000000L) == '1,000,000'
def test_basics(self): assert digitgroupseparator(None) is None assert digitgroupseparator(1000) == '1,000' assert digitgroupseparator(-1000) == '-1,000' assert digitgroupseparator(1000000) == '1,000,000'