From faa364138450fc390906956e2db358387200e19d Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Mon, 3 Oct 2016 11:42:30 +0200 Subject: Python3 (#37) * Handle python3's configparser as well * tests: Open file in text mode to avoid string bytes conversion with Python3 * tests: drop unnecessary dict These arent sortable in Python3 * Convert returned facts to list While Python2 has a list here Python3 returns dict_values which is not indexable as is. * tests: Parse url for comparison Python3 uses hash seeds for comparison so the QS parts dont have a fixed order. * Test python3.4 and python3.5 as well --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 1caed6a..64e3d86 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,8 @@ language: python python: - "2.7" + - "3.4" + - "3.5" install: "pip install -r requirements.txt" script: - flake8 -- cgit v1.2.3