chg: python3

pull/3/head
Christophe Vandeplas 2018-10-19 12:35:36 +02:00
parent 004efe818f
commit 885a28ee79
5 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
language: python
language: python3
cache: pip

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from .api import Galaxies, Clusters, EncodeGalaxies, EncodeClusters, UnableToRevertMachinetag

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import json

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from setuptools import setup

View File

@ -25,7 +25,7 @@ class TestPyMISPGalaxies(unittest.TestCase):
count = Counter(all_searchable)
for k, v in count.items():
if v != 1:
warnings.warn(f'Duplicate on {cluster.type}: {k}')
warnings.warn('Duplicate on {}: {}'.format(cluster.type, k))
def test_duplicates(self):
has_duplicates = False