Python Test For Inequality