We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 565d154 commit 94b461bCopy full SHA for 94b461b
src/embed_tests/Inspect.cs
@@ -5,6 +5,8 @@
5
using Python.Runtime;
6
7
namespace Python.EmbeddingTest {
8
+ using Runtime = Python.Runtime.Runtime;
9
+
10
public class Inspect {
11
[SetUp]
12
public void SetUp() {
@@ -18,6 +20,8 @@ public void Dispose() {
18
20
19
21
[Test]
22
public void BoundMethodsAreInspectable() {
23
+ if (Runtime.IsPython2)
24
+ Assert.Ignore("inspect.getfullargspec requires Python 3");
25
var obj = new Class();
26
using (var scope = Py.CreateScope()) {
27
scope.Import("inspect");
0 commit comments