File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ public void SetProgramName()
146
146
[ Test ]
147
147
public void SetPythonPath ( )
148
148
{
149
- if ( Runtime . Runtime . _pyversion == "2.7" )
149
+ if ( Runtime . Runtime . pyversion == "2.7" )
150
150
{
151
151
// Assert.Skip outputs as a warning (ie. pending to fix)
152
152
Assert . Pass ( ) ;
@@ -166,7 +166,7 @@ public void SetPythonPath()
166
166
[ Test ]
167
167
public void SetPythonPathExceptionOn27 ( )
168
168
{
169
- if ( Runtime . Runtime . _pyversion != "2.7" )
169
+ if ( Runtime . Runtime . pyversion != "2.7" )
170
170
{
171
171
Assert . Pass ( ) ;
172
172
}
Original file line number Diff line number Diff line change @@ -110,8 +110,8 @@ public class Runtime
110
110
// We needs to replace all public constants to static readonly fields to allow
111
111
// binary substitution of different Python.Runtime.dll builds in a target application.
112
112
113
- public string pyversion => _pyversion ;
114
- public string pyver => _pyver ;
113
+ public static string pyversion => _pyversion ;
114
+ public static string pyver => _pyver ;
115
115
116
116
#if PYTHON27
117
117
internal const string _pyversion = "2.7" ;
You can’t perform that action at this time.
0 commit comments