Method renamed: https://github.com/giampaolo/psutil/pull/2408
Remove this patch when upgrading to psutil 6.0

--- a/pyftpdlib/test/__init__.py
+++ b/pyftpdlib/test/__init__.py
@@ -379,7 +379,7 @@
     if POSIX:
         cons = [
             x
-            for x in this_proc.net_connections('tcp')
+            for x in this_proc.connections('tcp')
             if x.status != psutil.CONN_CLOSE_WAIT
         ]
         if cons:
