Skip to content

Commit a806244

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/PythonKitTests/PythonRuntimeTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ class PythonRuntimeTests: XCTestCase {
130130
XCTAssertEqual([-1, 0, 0, 1, 10], list.sorted())
131131
}
132132

133+
#if !os(Windows)
133134
func testHashable() {
134135
func compareHashValues(_ x: PythonConvertible) {
135136
let a = x.pythonObject
@@ -142,6 +143,7 @@ class PythonRuntimeTests: XCTestCase {
142143
compareHashValues("asdf")
143144
compareHashValues(PythonObject(tupleOf: 1, 2, 3))
144145
}
146+
#endif
145147

146148
func testRangeIteration() {
147149
for (index, val) in Python.range(5).enumerated() {

0 commit comments

Comments
 (0)