<s> """<STR_LIT>""" <EOL> import sys <EOL> import os <EOL> import os . path <EOL> import pytest <EOL> from coverage import coverage <EOL> def run_the_tests ( ) : <EOL> tests_dir = os . path . join ( os . path . dirname ( __file__ ) , "<STR_LIT>" ) <EOL> if not os . path . isdir ( tests_dir ) : <EOL> os . mkdir ( tests_dir ) <EOL> if '<STR_LIT>' in os . environ : <EOL> os . environ [ '<STR_LIT>' ] , os . environ [ '<STR_LIT>' ] = { <EOL> '<STR_LIT>' : ( '<STR_LIT>' , '<STR_LIT>' ) , <EOL> '<STR_LIT>' : ( '<STR_LIT>' , '<STR_LIT>' ) , <EOL> '<STR_LIT>' : ( '<STR_LIT>' , '<STR_LIT>' ) , <EOL> } [ os . environ [ '<STR_LIT>' ] ] <EOL> cov = coverage ( ) <EOL> cov . start ( ) <EOL> test_result = pytest . main ( sys . argv [ <NUM_LIT:1> : ] ) <EOL> cov . stop ( ) <EOL> cov . save ( ) <EOL> return test_result <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> sys . exit ( run_the_tests ( ) ) </s>
