GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — pythonnet/src/embed_tests/ExtensionTypes.cs at master · pythonnet/pythonnet Expand file tree/ Copy pathExtensionTypes.csMore file actions 20 lines (16 loc) · 504 Bytes / Copy pathExtensionTypes.csFile metadata and controls20 lines (16 loc) · 504 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 using System; using NUnit.Framework; using Python.Runtime; namespace Python.EmbeddingTest; public class ExtensionTypes { [Test] public void WeakrefIsNone_AfterBoundMethodIsGone() { using var makeref = Py.Import("weakref").GetAttr("ref"); var boundMethod = new UriBuilder().ToPython().GetAttr(nameof(UriBuilder.GetHashCode)); var weakref = makeref.Invoke(boundMethod); boundMethod.Dispose(); Assert.That(weakref.Invoke().IsNone(), Is.True); } } |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |