Skip to content

Commit

Permalink
i think ironpython does work on .net6
Browse files Browse the repository at this point in the history
  • Loading branch information
jbtule committed Nov 2, 2023
1 parent 6a55014 commit dcb8955
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Tests/DynamicObjects.cs
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ public void TestRecorder()
}


#if !NETCOREAPP2_0
#if !NET6

[Test]
public void TestCodeDomLateTypeBind()
Expand Down
13 changes: 2 additions & 11 deletions Tests/Linq.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
#if !NETCOREAPP2_0
using IronPython.Hosting;
using Microsoft.Scripting;
#endif

namespace Dynamitey.Tests
{
[TestFixture]
Expand Down Expand Up @@ -37,7 +36,7 @@ public void MoreGenericsDynamicLinq()
Assert.AreEqual(expected, actual);

}
#if !NETCOREAPP2_0

private dynamic RunPythonHelper(object linq, string code)
{

Expand All @@ -53,15 +52,7 @@ private dynamic RunPythonHelper(object linq, string code)
tCompiled.Execute(tScope);
return tScope.GetVariable("result");
}
#else
private dynamic RunPythonHelper(object linq, string code)
{


Assert.Ignore("Iron Python Doesn't work on .net core");
return new object();
}
#endif



Expand Down

0 comments on commit dcb8955

Please sign in to comment.