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 8848f84 commit 6f45caeCopy full SHA for 6f45cae
Tests/PythonKitTests/PythonRuntimeTests.swift
@@ -328,6 +328,12 @@ class PythonRuntimeTests: XCTestCase {
328
}
329
330
func testPythonFunction() {
331
+ let versionMajor = Python.versionInfo.major
332
+ let versionMinor = Python.versionInfo.minor
333
+ guard (versionMajor == 3 && versionMinor >= 1) || versionMajor > 3 else {
334
+ return
335
+ }
336
+
337
let pythonAdd = PythonFunction { (params: [PythonObject]) in
338
let lhs = params[0]
339
let rhs = params[1]
0 commit comments