File tree Expand file tree Collapse file tree 5 files changed +7
-8
lines changed
Expand file tree Collapse file tree 5 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 138138 </Reference >
139139 </ItemGroup >
140140 <ItemGroup >
141- <None Include =" Embeddingtest.nunit" />
142141 <None Include =" ..\pythonnet.snk" />
143142 <None Include =" packages.config" />
144143 <None Include =" pythonnet.snk" Condition =" Exists('pythonnet.snk')" />
145144 </ItemGroup >
146145 <ItemGroup >
147146 <Compile Include =" InitializeTest.cs" />
148147 <Compile Include =" pyimport.cs" />
149- <Compile Include =" pyiter.cs" >
150- <SubType >Code</SubType >
151- </Compile >
148+ <Compile Include =" pyiter.cs" />
152149 <Compile Include =" pyobject.cs" />
153150 <Compile Include =" pythonexception.cs" />
154151 </ItemGroup >
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public void SetUp()
2020
2121 /*
2222 * Append the tests directory to sys.path
23- * using reflection to circumvent the private modifires placed on most Runtime methods.
23+ * using reflection to circumvent the private modifiers placed on most Runtime methods.
2424 */
2525 const string s = @"../../../../tests" ;
2626
Original file line number Diff line number Diff line change @@ -33,11 +33,13 @@ public void TestOnPyList()
3333 list . Append ( new PyString ( "baz" ) ) ;
3434 List < string > result = new List < string > ( ) ;
3535 foreach ( PyObject item in list )
36+ {
3637 result . Add ( item . ToString ( ) ) ;
38+ }
3739 Assert . AreEqual ( 3 , result . Count ) ;
3840 Assert . AreEqual ( "foo" , result [ 0 ] ) ;
3941 Assert . AreEqual ( "bar" , result [ 1 ] ) ;
4042 Assert . AreEqual ( "baz" , result [ 2 ] ) ;
4143 }
4244 }
43- }
45+ }
Original file line number Diff line number Diff line change @@ -30,4 +30,4 @@ public void TestUnicode()
3030 Assert . AreEqual ( "foo\u00e9 " , s . ToString ( ) ) ;
3131 }
3232 }
33- }
33+ }
Original file line number Diff line number Diff line change @@ -44,4 +44,4 @@ public void TestNoError()
4444 Assert . AreEqual ( "" , e . Message ) ;
4545 }
4646 }
47- }
47+ }
You can’t perform that action at this time.
0 commit comments