Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 59e81e2

Browse files
committed
Test runner docs fixes
1 parent 21eb14c commit 59e81e2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/domain_tests/TestRunner.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ class TestCase
5555

5656
/// <summary>
5757
/// The Python code to run as a module that imports the C#.
58-
/// It should have two functions: before() and after(). Before
59-
/// will be called when DotNetBefore is loaded; after will be
60-
/// called (twice) when DotNetAfter is loaded.
58+
/// It should have two functions: before_reload() and after_reload().
59+
/// Before will be called twice when DotNetBefore is loaded;
60+
/// after will also be called twice when DotNetAfter is loaded.
6161
/// To make the test fail, have those functions raise exceptions.
6262
///
6363
/// Make sure there's no leading spaces since Python cares.
@@ -936,7 +936,6 @@ public static int Main()
936936
}}
937937
}}
938938
";
939-
// readonly static string PythonDllLocation = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "../../runtime/bin/Python.Runtime.dll");
940939
readonly static string PythonDllLocation = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Python.Runtime.dll");
941940

942941
public static int Main(string[] args)

0 commit comments

Comments
 (0)