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 a806244 commit f2f0bf1Copy full SHA for f2f0bf1
Tests/PythonKitTests/PythonRuntimeTests.swift
@@ -24,6 +24,7 @@ class PythonRuntimeTests: XCTestCase {
24
XCTAssertEqual(2, polymorphicList[2])
25
}
26
27
+ #if !os(Windows)
28
func testPythonDict() {
29
let dict: PythonObject = ["a": 1, 1: 0.5]
30
XCTAssertEqual(2, Python.len(dict))
@@ -36,7 +37,6 @@ class PythonRuntimeTests: XCTestCase {
36
37
XCTAssertEqual("d", dict["b"])
38
39
- #if !os(Windows)
40
func testRange() {
41
let slice = PythonObject(5..<10)
42
XCTAssertEqual(Python.slice(5, 10), slice)
0 commit comments