Skip to content

Commit 23aee4f

Browse files
committed
[PythonKit] Updated tests for Windows
1 parent 852c280 commit 23aee4f

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
@@ -36,6 +36,7 @@ class PythonRuntimeTests: XCTestCase {
3636
XCTAssertEqual("d", dict["b"])
3737
}
3838

39+
#if !os(Windows)
3940
func testRange() {
4041
let slice = PythonObject(5..<10)
4142
XCTAssertEqual(Python.slice(5, 10), slice)
@@ -50,7 +51,6 @@ class PythonRuntimeTests: XCTestCase {
5051
XCTAssertNil(Range<Int>(PythonObject(5...)))
5152
}
5253

53-
#if !os(Windows)
5454
func testPartialRangeFrom() {
5555
let slice = PythonObject(5...)
5656
XCTAssertEqual(Python.slice(5, Python.None), slice)

0 commit comments

Comments
 (0)