Skip to content

Use string.Equals for string comparison - #1981

Merged
slozier merged 1 commit into
IronLanguages:mainfrom
BCSharp:string_Equals
Feb 1, 2026
Merged

Use string.Equals for string comparison#1981
slozier merged 1 commit into
IronLanguages:mainfrom
BCSharp:string_Equals

Use string.Equals for string comparison

4e4a821
Select commit
Loading
Failed to load commit list.
Azure Pipelines / IronPython3 failed Jan 31, 2026 in 25m 1s

Build #20260131.1 had test failures

Details

Tests

  • Failed: 13 (0.18%)
  • Passed: 4,448 (61.49%)
  • Other: 2,773 (38.33%)
  • Total: 7,234

Annotations

Check failure on line 118 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / IronPython3

Build log #L118

PowerShell exited with code '1'.

Check failure on line 20148 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / IronPython3

Build log #L20148

PowerShell exited with code '1'.

Check failure on line 19176 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / IronPython3

Build log #L19176

PowerShell exited with code '1'.

Check failure on line 20152 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / IronPython3

Build log #L20152

PowerShell exited with code '1'.

Check failure on line 1 in IronPythonTest.Cases.IronPythonCases.net8.0.IronPython.modules.network_related.test__ssl

See this annotation in the file changed.

@azure-pipelines azure-pipelines / IronPython3

IronPythonTest.Cases.IronPythonCases.net8.0.IronPython.modules.network_related.test__ssl

Traceback (most recent call last):
  File "/home/vsts/work/1/s/tests/suite/modules/network_related/test__ssl.py", line 350, in <module>
  File "/home/vsts/work/1/s/bin/Release/net8.0/lib/iptest/ipunittest.py", line 196, in run_test
  File "/home/vsts/work/1/s/src/core/IronPython.StdLib/lib/test/support/__init__.py", line 1787, in _run_suite
  File "/home/vsts/work/1/s/src/core/IronPython.StdLib/lib/test/support/__init__.py", line 1812, in run_unittest
test.support.TestFailed: Traceback (most recent call last):
  File "/home/vsts/work/1/s/tests/suite/modules/network_related/test__ssl.py", line 161, in test_SSLType_issuer
    self.assertIn(SSL_ISSUER, issuer)
AssertionError: 'CN=GlobalSign Atlas R3 DV TLS CA 2025 Q1, O=GlobalSign nv-sa, C=BE' not found in 'CN=GlobalSign Atlas R3 DV TLS CA 2025 Q4, O=GlobalSign nv-sa, C=BE'
Raw output
   at IronPythonTest.Cases.CommonCases.TestImpl(TestInfo testcase) in /_/tests/IronPython.Tests/Cases/CommonCases.cs:line 34
   at IronPythonTest.Cases.IronPythonCases.Test(TestInfo testcase) in /_/tests/IronPython.Tests/Cases/IronPythonCases.cs:line 15
   at InvokeStub_IronPythonCases.Test(Object, Span`1)

1)    at IronPythonTest.Cases.CommonCases.TestImpl(TestInfo testcase) in /_/tests/IronPython.Tests/Cases/CommonCases.cs:line 26
   at IronPythonTest.Cases.IronPythonCases.Test(TestInfo testcase) in /_/tests/IronPython.Tests/Cases/IronPythonCases.cs:line 15
   at InvokeStub_IronPythonCases.Test(Object, Span`1)

Check failure on line 1 in IronPythonTest.Cases.IronPythonCases.net6.0.IronPython.modules.network_related.test__ssl

See this annotation in the file changed.

@azure-pipelines azure-pipelines / IronPython3

IronPythonTest.Cases.IronPythonCases.net6.0.IronPython.modules.network_related.test__ssl

Traceback (most recent call last):
  File "/home/vsts/work/1/s/tests/suite/modules/network_related/test__ssl.py", line 350, in <module>
  File "/home/vsts/work/1/s/bin/Release/net6.0/lib/iptest/ipunittest.py", line 196, in run_test
  File "/home/vsts/work/1/s/src/core/IronPython.StdLib/lib/test/support/__init__.py", line 1787, in _run_suite
  File "/home/vsts/work/1/s/src/core/IronPython.StdLib/lib/test/support/__init__.py", line 1812, in run_unittest
test.support.TestFailed: Traceback (most recent call last):
  File "/home/vsts/work/1/s/tests/suite/modules/network_related/test__ssl.py", line 161, in test_SSLType_issuer
    self.assertIn(SSL_ISSUER, issuer)
AssertionError: 'CN=GlobalSign Atlas R3 DV TLS CA 2025 Q1, O=GlobalSign nv-sa, C=BE' not found in 'CN=GlobalSign Atlas R3 DV TLS CA 2025 Q4, O=GlobalSign nv-sa, C=BE'
Raw output
   at IronPythonTest.Cases.CommonCases.TestImpl(TestInfo testcase) in /_/tests/IronPython.Tests/Cases/CommonCases.cs:line 40

1)    at IronPythonTest.Cases.CommonCases.TestImpl(TestInfo testcase) in /_/tests/IronPython.Tests/Cases/CommonCases.cs:line 26

Check failure on line 1 in IronPythonTest.Cases.CPythonCases.net6.0.CPython.test_userstring

See this annotation in the file changed.

@azure-pipelines azure-pipelines / IronPython3

IronPythonTest.Cases.CPythonCases.net6.0.CPython.test_userstring

  Expected: 0
  But was:  1
Raw output
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Execution.SimpleWorkItem.<>c__DisplayClass4_0.<PerformWork>b__0()
   at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)

1)    at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Execution.SimpleWorkItem.<>c__DisplayClass4_0.<PerformWork>b__0()
   at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)

Check failure on line 1 in IronPythonTest.Cases.IronPythonCases.net462.IronPython.modules.network_related.test__ssl

See this annotation in the file changed.

@azure-pipelines azure-pipelines / IronPython3

IronPythonTest.Cases.IronPythonCases.net462.IronPython.modules.network_related.test__ssl

Traceback (most recent call last):
  File "/home/vsts/work/1/s/tests/suite/modules/network_related/test__ssl.py", line 350, in <module>
  File "/home/vsts/work/1/s/src/core/IronPython.StdLib/lib/test/support/__init__.py", line 1812, in run_unittest
  File "/home/vsts/work/1/s/bin/Release/net462/lib/iptest/ipunittest.py", line 196, in run_test
  File "/home/vsts/work/1/s/src/core/IronPython.StdLib/lib/test/support/__init__.py", line 1787, in _run_suite
test.support.TestFailed: Traceback (most recent call last):
  File "/home/vsts/work/1/s/tests/suite/modules/network_related/test__ssl.py", line 161, in test_SSLType_issuer
    self.assertIn(SSL_ISSUER, issuer)
AssertionError: 'CN=GlobalSign Atlas R3 DV TLS CA 2025 Q1, O=GlobalSign nv-sa, C=BE' not found in 'CN=GlobalSign Atlas R3 DV TLS CA 2025 Q4, O=GlobalSign nv-sa, C=BE'
Raw output
  at IronPythonTest.Cases.CommonCases.TestImpl (IronPythonTest.Cases.TestInfo testcase) [0x00072] in <bf8f50df9ea74e78b9e5cbd550d7b161>:0 
  at IronPythonTest.Cases.IronPythonCases.Test (IronPythonTest.Cases.TestInfo testcase) [0x00000] in <bf8f50df9ea74e78b9e5cbd550d7b161>:0 

1)   at IronPythonTest.Cases.CommonCases.TestImpl (IronPythonTest.Cases.TestInfo testcase) [0x00000] in <bf8f50df9ea74e78b9e5cbd550d7b161>:0 
  at IronPythonTest.Cases.IronPythonCases.Test (IronPythonTest.Cases.TestInfo testcase) [0x00000] in <bf8f50df9ea74e78b9e5cbd550d7b161>:0