def setUp():
 Directory.CreateDirectory(DLLS_DIR)
 cleanUp()
 File.Copy((IP_DIR + '\\IronPython.dll'), (DLLS_DIR + '\\IronPython.dll'))
 Directory.SetCurrentDirectory(DLLS_DIR)
 okAssemblies(50)
 dupAssemblies(5)
 overrideNative()
 corruptDLL()
 unmanagedDLL()
 dllVsExe()
 exeOnly()
 textFiles()
 uniqueDLLNames()
 File.Delete((DLLS_DIR + '\\IronPython.dll'))

def setUp ( ) : Directory . CreateDirectory ( DLLS_DIR ) cleanUp ( ) File . Copy ( ( IP_DIR + '\\IronPython.dll' ) , ( DLLS_DIR + '\\IronPython.dll' ) ) Directory . SetCurrentDirectory ( DLLS_DIR ) okAssemblies ( 50 ) dupAssemblies ( 5 ) overrideNative ( ) corruptDLL ( ) unmanagedDLL ( ) dllVsExe ( ) exeOnly ( ) textFiles ( ) uniqueDLLNames ( ) File . Delete ( ( DLLS_DIR + '\\IronPython.dll' ) )
set :app:pyramid registry and request thread locals for the duration of a single unit test .