Exception when calling LogAssert.ignoreFailingMessages from teardown method

In my test fixture, i have this method which causes an exception (Unity 2019.4.13):

[OneTimeTearDown]
public void DisposeTest()
{
    LogAssert.ignoreFailingMessages = false;
}

This code seems to cause an exception:

Is this a known bug ?

Thanks for mentioning it. It is not a known bug. I have added a fix for it, which should land in either 1.1.19 or 1.1.20 of the test framework package.

This is still a problem with Unity 2021.1.16f and “com.unity.test-framework”: “1.1.31”.
Setting LogAssert.ignoreFailingMessages = false; at the end of the test doesn’t help either, then the TearDown still fails when it sees an error.