Skip to content

Commit 92f99d6

Browse files
committed
PYTHON-1714 Add c extension use to client metadata
Fix tests - `has_c` is a func!
1 parent ccff023 commit 92f99d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymongo/pool_options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ def __init__(
364364
# },
365365
# 'platform': 'CPython 3.8.0|MyPlatform'
366366
# }
367-
if has_c:
367+
if has_c():
368368
self.__metadata["driver"]["name"] = "{}|{}".format(
369369
self.__metadata["driver"]["name"],
370370
"c",

0 commit comments

Comments
 (0)