Remove some pytest warning

This commit is contained in:
hakril
2025-02-02 18:40:07 +01:00
parent 6fd32762da
commit 3489a560fb
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ def generate_client_server_test(client_function, server_function):
time.sleep(0.5)
client_function()
th.join()
return True
return
return generated_test
PORT_NAME = r"\RPC Control\PythonForWindowsTestPort"
+1 -1
View File
@@ -227,7 +227,7 @@ def test_crypt_obj():
# TODO: Need some better ideas
def test_certificate_from_store():
return windows.crypto.CertificateStore.from_system_store("Root")
assert windows.crypto.CertificateStore.from_system_store("Root")
def test_sign_verify(rawcert, rawpfx):
+1 -1
View File
@@ -25,7 +25,7 @@ class TestCurrentProcessWithCheckGarbage(object):
assert myself.ppid == windows.current_process.ppid
def test_get_current_process_peb(self):
return windows.current_process.peb
assert windows.current_process.peb
def test_get_current_process_modules(self):
# Use module filename because this executable can be: