Skip to content

Commit cb6e6d9

Browse files
committed
fix native-shared python test file (non-CI use)
1 parent cda3b6d commit cb6e6d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/native-tests/test-python/helloWorld.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
platform = "so"
1414

1515
build_type = sys.argv[1]
16-
if sys.argv.__len__() > 2 and sys.argv[2] != None:
16+
if len(sys.argv) > 2 and sys.argv[2] != None:
1717
so_path = sys.argv[2]
1818
else:
1919
so_path = "../../../out/" + build_type + "/libChakraCore." + platform

0 commit comments

Comments
 (0)