We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The TestFilters.test_count test fails as follows (I added print(cons) to see what cons is):
TestFilters.test_count
print(cons)
cons
____________________________ TestFilters.test_count ____________________________ self = <psutil.tests.test_connections.TestFilters testMethod=test_count> def test_count(self): with create_sockets(): # tcp cons = thisproc.connections(kind='tcp') print(cons) > self.assertEqual(len(cons), 2 if supports_ipv6() else 1) E AssertionError: 3 != 2 psutil/tests/test_connections.py:404: AssertionError ----------------------------- Captured stdout call ----------------------------- [pconn(fd=-1, family=<AddressFamily.AF_INET6: 26>, type=<SocketKind.SOCK_STREAM: 2>, laddr=addr(ip='::', port=63192), raddr=(), status='LISTEN'), pconn(fd=-1, family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 2>, laddr=addr(ip='0.0.0.0', port=63192), raddr=(), status='LISTEN'), pconn(fd=-1, family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 2>, laddr=addr(ip='0.0.0.0', port=51038), raddr=(), status='LISTEN')]
This is possibly related to #2317.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
Description
The
TestFilters.test_count
test fails as follows (I addedprint(cons)
to see whatcons
is):This is possibly related to #2317.
The text was updated successfully, but these errors were encountered: