Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0c68e6 commit 1dbf383Copy full SHA for 1dbf383
src/embed_tests/Python.EmbeddingTest.csproj
@@ -105,6 +105,7 @@
105
<Compile Include="TestRuntime.cs" />
106
<Compile Include="TestPyScope.cs" />
107
<Compile Include="TestTypeManager.cs" />
108
+ <Compile Include="TestsSuite.cs" />
109
</ItemGroup>
110
<ItemGroup>
111
<ProjectReference Include="..\runtime\Python.Runtime.csproj">
src/embed_tests/TestsSuite.cs
@@ -0,0 +1,18 @@
1
+using NUnit.Framework;
2
+using Python.Runtime;
3
+
4
+namespace Python.EmbeddingTest
5
+{
6
+ [SetUpFixture]
7
+ public class TestsSuite
8
+ {
9
+ [OneTimeTearDown]
10
+ public void FinalCleanup()
11
12
+ if (PythonEngine.IsInitialized)
13
14
+ PythonEngine.Shutdown();
15
+ }
16
17
18
+}
0 commit comments