MCPcopy Create free account
hub / github.com/RustPython/RustPython / newSocket

Method newSocket

Lib/test/test_socket.py:805–806  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

803 """Base class for TCP-over-IPv4 tests."""
804
805 def newSocket(self):
806 return socket.socket(socket.AF_INET, socket.SOCK_STREAM)
807
808class UDPTestBase(InetTestBase):
809 """Base class for UDP-over-IPv4 tests."""

Callers 3

setUpMethod · 0.45
newClientSocketMethod · 0.45
setUpMethod · 0.45

Calls 1

socketMethod · 0.80

Tested by

no test coverage detected