I believe the result is a list, so lets not cast to a set to do the testing (I'm happy this being order dependent).

Also, please use the assert_equal function from nose.tools.assert_equals - the error message will be so much more clear.