1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00

Fix installation issue with Python 3.4 and aiohttp cors

This commit is contained in:
Julien Duponchelle 2017-06-06 16:27:21 +02:00
parent 2fe589b1a8
commit cdcdba7411
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8
2 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,7 @@ python:
sudo: false sudo: false
cache: pip cache: pip
install: install:
- pip install -U setuptools pip
- python setup.py install - python setup.py install
- pip install -rdev-requirements.txt - pip install -rdev-requirements.txt
script: script:

View File

@ -15,7 +15,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
import gc
import pytest import pytest
import socket import socket
import asyncio import asyncio
@ -228,6 +228,7 @@ def run_around_tests(monkeypatch, port_manager, controller, config):
shutil.rmtree(tmppath) shutil.rmtree(tmppath)
except: except:
pass pass
gc.collect()
@pytest.fixture @pytest.fixture