Thu Aug 31 09:08:54 2006

Ticket #86 (Closed: fixed)

python version detection broken for 3.0 and above


Priority: normal Reporter: jpellerin
Severity: minor Assigned to: jpellerin
Component: nose:plugins Status: closed
Version: 0.9.1 Resolution: fixed
Milestone: 0.9.1 Keywords:  

Description by jpellerin:

From Kevin Dangoor:

in nose/plugins/attrib.py:

compat_24 = pyvrs[0] >= 2 and pyvrs[1] >= 4

would fail with Python 3.0 (though all bets are off for compatibility
there anyhow :)

Python version detection actually had a discussion on the tg list a
few months back.

you can rewrite this:
compat_24 = sys.version_info >= (2, 4)

Changelog

Thu Aug 31 09:09:07 2006: Modified by jpellerin

  • status changed from new to assigned

Wed Sep 6 11:30:33 2006: Modified by jpellerin

  • resolution set to fixed
  • status changed from assigned to closed

Fixed in [96]. Thank you!