Help with unittest2
daniel.j.laird at googlemail.com
Thu Dec 13 16:03:27 CET 2012
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.
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
More information about the Python-list