Skip to content

Commit f2f0bf1

Browse files
committed
[PythonKit] Updated tests for Windows
1 parent a806244 commit f2f0bf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/PythonKitTests/PythonRuntimeTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class PythonRuntimeTests: XCTestCase {
2424
XCTAssertEqual(2, polymorphicList[2])
2525
}
2626

27+
#if !os(Windows)
2728
func testPythonDict() {
2829
let dict: PythonObject = ["a": 1, 1: 0.5]
2930
XCTAssertEqual(2, Python.len(dict))
@@ -36,7 +37,6 @@ class PythonRuntimeTests: XCTestCase {
3637
XCTAssertEqual("d", dict["b"])
3738
}
3839

39-
#if !os(Windows)
4040
func testRange() {
4141
let slice = PythonObject(5..<10)
4242
XCTAssertEqual(Python.slice(5, 10), slice)

0 commit comments

Comments
 (0)