Edgewall Software
Modify

Opened 18 years ago

Closed 15 years ago

Last modified 12 years ago

#87 closed defect (fixed)

One testcase failed

Reported by: stava@… Owned by: osimons
Priority: major Milestone: 0.6
Component: General Version: 0.5
Keywords: Cc:
Operating System: Linux

Description

One of the testcases (and only one) fails on SuSE Linux 9.3 with python-2.4 (setuptools 0.6a8):

======================================================================
ERROR: test_transform (bitten.build.tests.xmltools.TransformTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/stava/proj/jonix/addons/bitten/Bitten-0.5/bitten/build/tests/xmltools.py", line 90, in test_transform
    dest_file = file(self.ctxt.resolve('dest.xml'))
IOError: [Errno 2] No such file or directory: '/tmp/tmpybOpBg/dest.xml'
======================================================================
FAIL: test_single_argument (bitten.build.tests.api.CommandLineTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/stava/proj/jonix/addons/bitten/Bitten-0.5/bitten/build/tests/api.py", line 45, in test_single_argument
    self.assertEqual(['Python %s' % py_version], stderr)
AssertionError: ['Python 2.4.0'] != ['Python 2.4']
----------------------------------------------------------------------
Ran 189 tests in 7.992s
FAILED (failures=1, errors=1)

Seems to be an Assertion error capturing the python version as "2.4.0" where it is "2.4" (or the other way around).

Attachments (0)

Change History (4)

comment:1 Changed 15 years ago by osimons

Similar issue reported as part of #265, this time with 2.5.0 - so seems Python reports just two numbers in version on first main Python release. No big deal, but should be fixed at some stage.

comment:2 Changed 15 years ago by osimons

  • Owner changed from cmlenz to osimons

Right - found one of my machines with a .0 version of Python.

$ python -V
Python 2.6
>>> import sys
>>> print('.'.join([str(v) for (v) in sys.version_info[:3]]))
2.6.0

The version itself isn't important for this test - only verifying that we get output from a command. I'll fix it to be more permissive.

comment:3 Changed 15 years ago by osimons

  • Milestone set to 0.6
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [694].

comment:4 Changed 15 years ago by osimons

Actually, [695] really fixed it...

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain osimons.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.