using NUnit.Framework;
using Python.Runtime;
namespace Python.EmbeddingTest
{
public class ClassManagerTests
{
[Test]
public void NestedClassDerivingFromParent()
{
var f = new NestedTestContainer().ToPython();
f.GetAttr(nameof(NestedTestContainer.Bar));
}
}
public class NestedTestParent
{
public class Nested : NestedTestParent
{
}
}
public class NestedTestContainer
{
public NestedTestParent Bar = new NestedTestParent.Nested();
}
}