nose-devs/nose — Issue #179: SyntaxError under Python 2.2, w/ patch
Author: jpellerin
Created: 2011-12-14 16:02:54+00:00
State: open

What steps will reproduce the problem?
1. $ python2.2 -c 'import nose'

What is the expected output? What do you see instead?

expected:
actual:
{{{
nose/core.py:42: Warning: 'yield' will become a reserved keyword in the future
Traceback (most recent call last):
File "", line 1, in ?
File "nose/__init__.py", line 291, in ?
from nose.core import TestCollector, collector, configure, main, run, \
File "nose/core.py", line 42
yield test
^
SyntaxError: invalid syntax
}}}

What version of the product are you using? On what operating system?

nose: trunk r25
os: Darwin Kernel Version 8.8.0
python: 2.2.3, from source

Please provide any additional information below.

There are other issues w/ nose+python2.2, but they can be solved w/o
changes to nose itself. Here's a full write-up:

http://tech.whit537.org/2007/01/using-nose-with-python-22.html

Google Code Info:
Issue #: 23
Author: whit537@gmail.com
Created On: 2007-01-04T21:36:53.000Z
Closed On: 2007-01-05T01:06:52.000Z