public void PyObjectStringConvertToSymbolEnumerable() { SymbolCache.Clear(); SymbolCache.Set("SPY", Symbols.SPY); IEnumerable <Symbol> symbols; using (Py.GIL()) { symbols = new PyString("SPY").ConvertToSymbolEnumerable(); } Assert.AreEqual(Symbols.SPY, symbols.Single()); }