public void TestPythonUsingIDisposable() { _w.WriteLine("# will open a Python block"); using (_w.WithPythonBlock("if a == b")) { _w.WriteLine("print b"); } Assert.AreEqual(expectedPython, _w.GetContents()); }
public void TestPythonUsingIDisposable() { _w.WriteLine("# will open a Python block"); using (_w.WithPythonBlock("if a == b")) { _w.WriteLine("print b"); } Assert.AreEqual(expectedPython, _w.GetContents()); }