def test_env_override(self):
        # Env override is only allowed for known sections: GLOBAL, TESTING, DEVELOPER
        # Also, environment is read upon config creation
        self.assertEqual(os.path.exists(self.filepath), False)
        os.environ['CALVIN_CONFIG_PATH'] = self.filepath

        for a in range(10):
            os.environ[a % 'CALVIN_TESTING_APA%d'] = "100"
        _conf = CalvinConfig()

        for a in range(10):
            self.assertEqual(_conf.get("testing", "APA%d" % a), 100)
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/utilities/tests/test_calconfig.py/CalvinConfigTests.test_env_override/swapped operands of `%`