GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
assertGreater/Less methods (of TestCase) come from unittests2 which is only
available in python2.7 by default. basinhopping tests fail otherwise on 2.6.
TST: replace assertGreater/Less by assertTrue in basinhopping unittests
Guess that should be fixed in 0.12.x as well then.
In general I'm not a fan of TestCase methods, I'd prefer assert_ over self.assertTrue. But that's nitpicking, this PR can be merged.
Applied in f031383. I'll fix 0.12 as well.