Explorar o código

Fix problem in getFreePort for tests

Yentl Van Tendeloo %!s(int64=9) %!d(string=hai) anos
pai
achega
624ebd7dac
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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