Skip to content

Commit

Permalink
Avoid importing __future__.unicode_literals which confuses factories.
Browse files Browse the repository at this point in the history
  • Loading branch information
beauby committed Mar 10, 2020
1 parent 3c5a737 commit b82df44
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/test_binary_factory.py
Expand Up @@ -3,7 +3,7 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

from __future__ import absolute_import, division, print_function, unicode_literals
from __future__ import absolute_import, division, print_function

import unittest
import faiss
Expand Down
2 changes: 1 addition & 1 deletion tests/test_factory.py
Expand Up @@ -3,7 +3,7 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

from __future__ import absolute_import, division, print_function, unicode_literals
from __future__ import absolute_import, division, print_function

import numpy as np
import unittest
Expand Down
2 changes: 1 addition & 1 deletion tests/test_index_binary_from_float.py
Expand Up @@ -3,7 +3,7 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

from __future__ import absolute_import, division, print_function, unicode_literals
from __future__ import absolute_import, division, print_function

import numpy as np
import unittest
Expand Down
2 changes: 1 addition & 1 deletion tests/test_index_composite.py
Expand Up @@ -4,7 +4,7 @@
# LICENSE file in the root directory of this source tree.

""" more elaborate that test_index.py """
from __future__ import absolute_import, division, print_function, unicode_literals
from __future__ import absolute_import, division, print_function

import numpy as np
import unittest
Expand Down
2 changes: 1 addition & 1 deletion tests/test_ivflib.py
Expand Up @@ -3,7 +3,7 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

from __future__ import absolute_import, division, print_function, unicode_literals
from __future__ import absolute_import, division, print_function

import unittest
import faiss
Expand Down

0 comments on commit b82df44

Please sign in to comment.