Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-8122

SpherePoint tests fail on macOS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: afw

      Description

      Building afw on macOS Sierra I get:

      tests/testSpherePoint.py
       
      .........................F....
      ======================================================================
      FAIL: testStrValue (__main__.SpherePointTestSuite)
      Test if __str__ produces output consistent with its spec.
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "tests/testSpherePoint.py", line 762, in testStrValue
          self.assertRegexpMatches(numbers[1], r'\+|-nan')
      AssertionError: Regexp didn't match: '\\+|-nan' not found in 'nan'
       
      ----------------------------------------------------------------------
      Ran 30 tests in 2.210s
       
      FAILED (failures=1)
      

      It is failling for point (180.000000, nan).

        Attachments

          Issue Links

            Activity

            Hide
            krzys Krzysztof Findeisen added a comment -

            Don't panic, I'm working on it.

            Show
            krzys Krzysztof Findeisen added a comment - Don't panic, I'm working on it.
            Hide
            Parejkoj John Parejko added a comment -

            If you've got some work in this ticket branch, I'm happy to help you test it.

            Show
            Parejkoj John Parejko added a comment - If you've got some work in this ticket branch, I'm happy to help you test it.
            Hide
            krzys Krzysztof Findeisen added a comment -

            Ok, I'll take you up on that. John Parejko, please test and review.

            Show
            krzys Krzysztof Findeisen added a comment - Ok, I'll take you up on that. John Parejko , please test and review.
            Hide
            Parejkoj John Parejko added a comment -

            This fixes the problem on OSX 10.11.

            Show
            Parejkoj John Parejko added a comment - This fixes the problem on OSX 10.11.
            Hide
            krzys Krzysztof Findeisen added a comment -

            Merged to master.

            Show
            krzys Krzysztof Findeisen added a comment - Merged to master.

              People

              Assignee:
              krzys Krzysztof Findeisen
              Reporter:
              tjenness Tim Jenness
              Reviewers:
              John Parejko
              Watchers:
              John Parejko, Joshua Meyers, Krzysztof Findeisen, Tim Jenness
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.