| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/attackgithub/pythonnet/master/src/embed_tests/GlobalTestsSetup.cs | [Back] [Original] |
using NUnit.Framework;
using Python.Runtime;
namespace Python.EmbeddingTest
{
// As the SetUpFixture, the OneTimeTearDown of this class is executed after
// all tests have run.
[SetUpFixture]
public class GlobalTestsSetup
{
[OneTimeTearDown]
public void FinalCleanup()
{
if (PythonEngine.IsInitialized)
{
PythonEngine.Shutdown();
}
}
}
}
| Web Proxy Viewer | New URL | Original Page |