Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
faiss
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
faiss
Commits
5f684a46
Commit
5f684a46
authored
Nov 23, 2017
by
matthijs
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/facebookresearch/faiss
parents
fe446e41
de8ac33f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
test_build_blocks.py
tests/test_build_blocks.py
+2
-2
No files found.
tests/test_build_blocks.py
View file @
5f684a46
...
...
@@ -132,7 +132,7 @@ class TestException(unittest.TestCase):
try
:
# an unsupported operation for IndexFlat
index
.
add_with_ids
(
a
,
b
)
except
RuntimeError
,
e
:
except
RuntimeError
as
e
:
assert
'add_with_ids not implemented'
in
str
(
e
)
else
:
assert
False
,
'exception did not fire???'
...
...
@@ -141,7 +141,7 @@ class TestException(unittest.TestCase):
try
:
faiss
.
index_factory
(
12
,
'IVF256,Flat,PQ8'
)
except
RuntimeError
,
e
:
except
RuntimeError
as
e
:
assert
'could not parse'
in
str
(
e
)
else
:
assert
False
,
'exception did not fire???'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment