Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-3295

test_complex.py fails with Python 2.3.5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • Win32SS
    • None
    • Operating System: ReactOS
      Platform: x86 Hardware

    Description

      On r347xx, with Python 2.3.5
      I modified linecache.py, to make getlines return [] to not have a crash when test fails.

      Then I launched test_complex.py
      All tests are okay, but 3: test_pow, test_abs, test_repr for complex
      For those tests, first array contains .0 when second one contains some 0.0

      The two first might be related to convention call from stubs.c from msvcrt.dll

      test_repr says that 1 + 6j differs from 16j.

      Failing test is:
      self.assertEqual(repr(1+6j), '(1+6j)')

      Attachments

        Activity

          People

            fireball fireball
            jeanmichel.123 jeanmichel.123
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: