Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.pad.voice
Commits
f704c0e1
Commit
f704c0e1
authored
Oct 03, 2016
by
Pavel KORSHUNOV
Browse files
Small test fixes
parent
c3f65b6e
Pipeline
#4265
failed with stages
in 49 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/pad/voice/test/test_spoofspeech.py
View file @
f704c0e1
...
...
@@ -68,6 +68,7 @@ def _spoof(parameters, cur_test_dir, sub_dir, score_types=('dev-real',), scores_
# assert that the data order is still correct
assert
(
data2check
[
0
][:,
0
:
3
]
==
data2check
[
1
][:,
0
:
3
]).
all
()
# assert that the values are OK
print
(
data2check
)
assert
numpy
.
allclose
(
data2check
[
0
][:,
3
].
astype
(
float
),
data2check
[
1
][:,
3
].
astype
(
float
),
1e-3
)
finally
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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