Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
python standard lib added to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
psychowasp committed Sep 9, 2023
1 parent 5059fd3 commit 8b16ac7
Show file tree
Hide file tree
Showing 635 changed files with 284,149 additions and 935 deletions.
11 changes: 8 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,13 @@ let package = Package(
// path: "./Sources/PythonSwiftCore",
// swiftSettings: [ .define("BEEWARE", nil)]
// )
// .testTarget(
// name: "PythonSwiftCoreTests",
// dependencies: ["PythonSwiftCore","PythonLib"]),
.testTarget(
name: "PythonSwiftCoreTests",
dependencies: ["PythonSwiftCore","PythonLib"],
resources: [
.copy("python_stdlib")
]
),

]
)
18 changes: 9 additions & 9 deletions Sources/PythonSwiftCore/PyDecodable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ import PythonLib
//
//}
//
//extension PyPointer : PyDecodable {
//
// public init(object: PyPointer) throws {
// self = object.xINCREF
// }
//
//
//}
//
extension PyPointer : PyDecodable {

public init(object: PyPointer) throws {
self = object
}


}

extension Data: PyDecodable {

public init(object: PyPointer) throws {
Expand Down
Loading

0 comments on commit 8b16ac7

Please sign in to comment.