L118 errros

35 views
Skip to first unread message

Jose Paul

unread,
Nov 3, 2015, 2:13:34 AM11/3/15
to Django developers (Contributions to Django itself)
I am getting following errors when I am tried DJango 1.8 test cases against DB2 .What can be the cause for this ?.
Can someone comment on this please .

======================================================================
FAIL: test_decimal_numbers (utils_tests.test_numberformat.TestNumberFormat)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\IBM_ADMIN\PythonWorkspace\DJangoTestCases\src\DJangoTestCases\tests\utils_tests\test_numberformat.py", line 56, in test_decimal_numbers
    self.assertEqual(nformat(Decimal('1234'), '.', grouping=2, thousand_sep=','), '1234')
AssertionError: '12,34' != '1234'

======================================================================
FAIL: test_format_number (utils_tests.test_numberformat.TestNumberFormat)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\IBM_ADMIN\PythonWorkspace\DJangoTestCases\src\DJangoTestCases\tests\utils_tests\test_numberformat.py", line 14, in test_format_number
    self.assertEqual(nformat(1234, '.', grouping=2, thousand_sep=','),'1234')
AssertionError: u'12,34' != '1234'

======================================================================
FAIL: test_format_string (utils_tests.test_numberformat.TestNumberFormat)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\IBM_ADMIN\PythonWorkspace\DJangoTestCases\src\DJangoTestCases\tests\utils_tests\test_numberformat.py", line 23, in test_format_string
    self.assertEqual(nformat('1234', '.', grouping=2, thousand_sep=','),'1234')
AssertionError: u'12,34' != '1234'
Reply all
Reply to author
Forward
0 new messages