remove assert_not_in to be compatible with python 2.6