Skip to content

Commit 5a1eaa3

Browse files
gh-129288 Revert skip criteria for testCreateL2capSocket
1 parent 1af3e88 commit 5a1eaa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_socket.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2605,7 +2605,7 @@ def testCreateRfcommSocket(self):
26052605
with socket.socket(socket.AF_BLUETOOTH, socket.SOCK_STREAM, socket.BTPROTO_RFCOMM) as s:
26062606
pass
26072607

2608-
@unittest.skipUnless(HAVE_SOCKET_BLUETOOTH_L2CAP, 'Bluetooth L2CAP sockets required for this test')
2608+
@unittest.skipIf(sys.platform == "win32", "windows does not support L2CAP sockets")
26092609
def testCreateL2capSocket(self):
26102610
with socket.socket(socket.AF_BLUETOOTH, socket.SOCK_SEQPACKET, socket.BTPROTO_L2CAP) as s:
26112611
pass

0 commit comments

Comments
 (0)