Merge pull request #3 from cvandeplas/master

chg: python3
pull/5/head
Alexandre Dulaunoy 2018-10-19 13:58:48 +02:00 committed by GitHub
commit 0972f986ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

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