All,

I am new to python and am stuck with python 2.6 (Ubuntu 10.04 and dont want to 
force switch to 2.7)
I want to use assertListEqual and other new test functions.
However
I do am import unittest2 as unittest
The code does not fail but any use of the new functions results in:
NameError: global name 'assertListEqual' is not defined

What am I doing wrong?
Do I need to change something else? The docs seem to imply what I have done is 
enough.

Hope you can help
Cheers
Dan L
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to