summaryrefslogtreecommitdiff
path: root/psutil/tests
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2023-05-09 18:03:08 +0800
committerGitHub <noreply@github.com>2023-05-09 12:03:08 +0200
commit49aba759744c06fb3a6fa998155428520f161734 (patch)
tree5cad6acc4ff6adac01ec756a4c9baa89d45f5c0f /psutil/tests
parent5c52826e7eac9648006392f5d491f6fdf6ff50a8 (diff)
downloadpsutil-49aba759744c06fb3a6fa998155428520f161734.tar.gz
fix typos and some other minor bugs (#2253)HEADmaster
Signed-off-by: cui fliter <imcusg@gmail.com>
Diffstat (limited to 'psutil/tests')
-rwxr-xr-xpsutil/tests/test_connections.py2
-rwxr-xr-xpsutil/tests/test_windows.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/psutil/tests/test_connections.py b/psutil/tests/test_connections.py
index ad615ed0..aec164e8 100755
--- a/psutil/tests/test_connections.py
+++ b/psutil/tests/test_connections.py
@@ -200,7 +200,7 @@ class TestUnconnectedSockets(ConnectionTestCase):
@serialrun
class TestConnectedSocket(ConnectionTestCase):
- """Test socket pairs which are are actually connected to
+ """Test socket pairs which are actually connected to
each other.
"""
diff --git a/psutil/tests/test_windows.py b/psutil/tests/test_windows.py
index a9f68933..dd1dcbb1 100755
--- a/psutil/tests/test_windows.py
+++ b/psutil/tests/test_windows.py
@@ -65,7 +65,7 @@ class WindowsTestCase(PsutilTestCase):
def powershell(cmd):
- """Currently not used, but avalable just in case. Usage:
+ """Currently not used, but available just in case. Usage:
>>> powershell(
"Get-CIMInstance Win32_PageFileUsage | Select AllocatedBaseSize")
@@ -79,7 +79,7 @@ def powershell(cmd):
def wmic(path, what, converter=int):
- """Currently not used, but avalable just in case. Usage:
+ """Currently not used, but available just in case. Usage:
>>> wmic("Win32_OperatingSystem", "FreePhysicalMemory")
2134124534