We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 966f035 commit 347ecd7Copy full SHA for 347ecd7
src/embed_tests/TestPythonEngineProperties.cs
@@ -166,7 +166,7 @@ public void SetPythonPath()
166
[Test]
167
public void SetPythonPathExceptionOn27()
168
{
169
- if (Runtime.Runtime._pyversion != "2.7")
+ if (Runtime.Runtime.pyversion != "2.7")
170
171
Assert.Pass();
172
}
src/runtime/runtime.cs
@@ -110,8 +110,8 @@ public class Runtime
110
// We needs to replace all public constants to static readonly fields to allow
111
// binary substitution of different Python.Runtime.dll builds in a target application.
112
113
- public string pyversion => _pyversion;
114
- public string pyver => _pyver;
+ public static string pyversion => _pyversion;
+ public static string pyver => _pyver;
115
116
#if PYTHON27
117
internal const string _pyversion = "2.7";
0 commit comments