[Twisted-Python] test_nmea failing

Jp Calderone exarkun at meson.dyndns.org
Tue Dec 17 12:05:07 EST 2002


exarkun:~/projects/python/Twisted$ python2.1 admin/runtests -v -t --file twisted/test/test_nmea.py
reactor class: twisted.internet.default.SelectReactor
testGPSMessages (twisted.test.test_nmea.NMEAReceiverTestCase) ... FAIL

======================================================================
FAIL: testGPSMessages (twisted.test.test_nmea.NMEAReceiverTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./twisted/test/test_nmea.py", line 114, in testGPSMessages
    self.failUnlessEqual(expectedResult, actualResult,
"\nInput:\n%s\nExpected: %r\nResults: %r\n" % (message, expectedResult, actualResult))
  File "./pyunit/unittest.py", line 279, in failUnlessEqual
    raise self.failureException, (msg or '%s != %s' % (repr(first), repr(second)))
AssertionError:
Input:
$GPGLL,4250.5589,S,14718.5084,E,092204.999,A*2D
Expected: (-42.842648333299998, 147.30847333299999, 33724.999000000003, 1)
Results: (-42.842648333333337, 147.30847333333332, 33724.999000000003, 1)

----------------------------------------------------------------------

It does occassionally pass with 2.1, and it seems to always pass with 2.2.

  Jp

-- 
Examinations are formidable even to the best prepared, for
even the greatest fool may ask more than the wisest man can answer.
                -- C.C. Colton
--
 12:00am up 1 day, 9:44, 2 users, load average: 0.00, 0.00, 0.00
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20021217/4459196f/attachment.pgp 


More information about the Twisted-Python mailing list