diff --git a/.travis.yml b/.travis.yml index 8a6e8496..716ebdb7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,6 @@ language: python python: - "2.6" - "2.7" - - "3.2" - "3.3" - "3.4" - "3.5" diff --git a/tests/test_auto_colls.py b/tests/test_auto_colls.py index 81f3aa15..0f502453 100644 --- a/tests/test_auto_colls.py +++ b/tests/test_auto_colls.py @@ -506,11 +506,11 @@ class TestManagedColls(object): index_file = os.path.join(auto_dir, INDEX_DIR, AUTOINDEX_FILE) assert os.path.isfile(index_file) - with open(index_file, 'rb') as fh: + with open(index_file, 'r') as fh: index = fh.read() - assert b'"example.warc.gz' in index - assert b'"sub/example-extra.warc' in index, index + assert '"example.warc.gz' in index, index + assert '"sub/example-extra.warc' in index, index mtime = os.path.getmtime(index_file)