Best Python code snippet using tox_python
__init__.py
Source:__init__.py
...110 f"Unknown envlist {arg[1]!r}. (envlists are {word_join(envlists, use_repr=True)})"111 )112 config.args = list(chain.from_iterable(args))113 return config114def expand_section_names(self, config):115 # Unlike the default one in tox this one allows full stops / periods / decimal points116 # Important for version numbers117 to_remove = set()118 for section in list(config.sections):119 split_section = factor_re.split(section)120 for parts in itertools.product(*map(split_re.split, split_section)):121 section_name = ''.join(parts)122 if section_name not in config.sections: # pragma: no cover123 config.sections[section_name] = config.sections[section]124 to_remove.add(section)125 for section in to_remove: # pragma: no cover126 del config.sections[section]...
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!