Przeglądaj źródła

Fix problem in getFreePort for tests

Yentl Van Tendeloo 9 lat temu
rodzic
commit
624ebd7dac
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      integration/utils.py

+ 1 - 1
integration/utils.py

@@ -29,7 +29,7 @@ def getFreePort():
                     exists = True
                 else:
                     # We seem to be the second entry, so chose another one
-                    p.remove(port)
+                    ports.remove(port)
                     break
         else:
             # Didn't find a duplicate