Skip to content

Commit 59d3bf0

Browse files
committed
address review
1 parent c22ae84 commit 59d3bf0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pymongo/network_layer.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import asyncio
1919
import collections
2020
import errno
21-
import os
2221
import socket
2322
import struct
2423
import sys
@@ -287,7 +286,7 @@ async def _async_socket_receive(
287286

288287

289288
_PYPY = "PyPy" in sys.version
290-
_WINDOWS = os.name == "nt"
289+
_WINDOWS = sys.platform == "win32"
291290

292291

293292
def wait_for_read(conn: Connection, deadline: Optional[float]) -> None:

0 commit comments

Comments
 (0)