Sfoglia il codice sorgente

Fix problem in getFreePort for tests

Yentl Van Tendeloo 9 anni fa
parent
commit
624ebd7dac
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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