[haiku-bugs] Re: [Haiku] #6755: Python's test_os.py fails self.assertEquals(st2.st_mtime, int(st.st_mtime-delta))

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Thu, 16 Jun 2011 17:34:55 -0000

#6755: Python's test_os.py fails self.assertEquals(st2.st_mtime, 
int(st.st_mtime-
delta))
-----------------------+----------------------------
   Reporter:  scottmc  |      Owner:  nobody
       Type:  bug      |     Status:  new
   Priority:  normal   |  Milestone:  R1
  Component:  System   |    Version:  R1/Development
 Resolution:           |   Keywords:
 Blocked By:           |   Blocking:
Has a Patch:  0        |   Platform:  All
-----------------------+----------------------------

Comment (by bonefish):

 Someone familiar with python needs to have a look at those tests. In C the
 `stat::st_mtime` is an integer field. No clue where the python test gets
 the fraction values from. Or maybe the AssertionError is printed in
 reverse order and delta has a fraction part.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6755#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: