def test_oauth_not_supported(self):
        if (2, 7) < sys.version_info:
            self.assertRaises(SmugMugException, lambda: SmugMug(api_key=API_KEY, oauth_secret=OAUTH_SECRET, api_version="1.2.0"))
        else:
            with self.assertRaises(SmugMugException):
                SmugMug(api_key=API_KEY, oauth_secret=OAUTH_SECRET, api_version="1.2.0")
dataset/ETHPy150Open chrishoffman/smugpy/tests/test_setup.py/TestSetup.test_oauth_not_supported/swapped operands of `<`