Skip to content

Commit

Permalink
fix test failure in Vsion bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldoussoren committed Aug 27, 2017
1 parent 261c0de commit 97f7248
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pyobjc-framework-Vision/Lib/Vision/_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ def littleOrBig(a, b): return b
r(b'VNCoreMLRequest', b'initWithModel:completionHandler:', {'arguments': {3: {'callable': {'retval': {'type': b'v'}, 'arguments': {0: {'type': b'^v'}, 1: {'type': b'@'}, 2: {'type': b'@'}}}}}})
r(b'VNDetectTextRectanglesRequest', b'reportCharacterBoxes', {'retval': {'type': 'Z'}})
r(b'VNDetectTextRectanglesRequest', b'setReportCharacterBoxes:', {'arguments': {2: {'type': 'Z'}}})
r(b'VNFaceLandmarkRegion', b'normalizedPoints', {'retval': {'c_array_of_variable_length': True}})
r(b'VNFaceLandmarkRegion', b'pointsInImageOfSize:', {'retval': {'c_array_of_variable_length': True}})
r(b'VNFaceLandmarkRegion2D', b'normalizedPoints', {'retval': {'c_array_of_variable_length': True}})
r(b'VNFaceLandmarkRegion2D', b'pointsInImageOfSize:', {'retval': {'c_array_of_variable_length': True}})
r(b'VNImageRequestHandler', b'performRequests:error:', {'retval': {'type': 'Z'}, 'arguments': {3: {'type_modifier': b'o'}}})
r(b'VNRequest', b'completionHandler', {'retval': {'callable': {'retval': {'type': b'v'}, 'arguments': {0: {'type': b'^v'}, 1: {'type': b'@'}, 2: {'type': b'@'}}}}})
r(b'VNRequest', b'initWithCompletionHandler:', {'arguments': {2: {'callable': {'retval': {'type': b'v'}, 'arguments': {0: {'type': b'^v'}, 1: {'type': b'@'}, 2: {'type': b'@'}}}}}})
Expand Down
4 changes: 2 additions & 2 deletions pyobjc-framework-Vision/PyObjCTest/test_vnfacelandmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
class TestVNFaceLandmarks (TestCase):
@min_os_level('10.13')
def testMethods10_13(self):
self.assertResultIsVariableSize(Vision.VNFaceLandmarkRegion.normalizedPoints)
self.assertResultIsVariableSize(Vision.VNFaceLandmarkRegion.pointsInImageOfSize_)
self.assertResultIsVariableSize(Vision.VNFaceLandmarkRegion2D.normalizedPoints)
self.assertResultIsVariableSize(Vision.VNFaceLandmarkRegion2D.pointsInImageOfSize_)


if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion pyobjc-framework-Vision/metadata/Vision.fwinfo
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"VNErrorInvalidModel": { "value": 15 }
},
"classes": {
"VNFaceLandmarkRegion": {
"VNFaceLandmarkRegion2D": {
"methods": [
{
"selector": "normalizedPoints",
Expand Down

0 comments on commit 97f7248

Please sign in to comment.