提交 fdb0674f authored 作者: John Salvatier's avatar John Salvatier

rename tests

上级 43dbf17b
...@@ -3749,7 +3749,7 @@ class TestAdvancedSubtensor(unittest.TestCase): ...@@ -3749,7 +3749,7 @@ class TestAdvancedSubtensor(unittest.TestCase):
assert a.broadcastable == self.ix2.broadcastable, ( assert a.broadcastable == self.ix2.broadcastable, (
a.broadcastable, self.ix2.broadcastable) a.broadcastable, self.ix2.broadcastable)
def test_inc_adv_selection(self): def test_inc_adv_subtensor_w_matrix(self):
if not AdvancedIncSubtensor.increment_available: if not AdvancedIncSubtensor.increment_available:
raise SkipTest("inc_subtensor with advanced indexing not enabled. " raise SkipTest("inc_subtensor with advanced indexing not enabled. "
"Installing NumPy 1.8 or the latest development version " "Installing NumPy 1.8 or the latest development version "
...@@ -3763,7 +3763,7 @@ class TestAdvancedSubtensor(unittest.TestCase): ...@@ -3763,7 +3763,7 @@ class TestAdvancedSubtensor(unittest.TestCase):
[1, 2]]) [1, 2]])
assert numpy.allclose(aval, [.4, .9 * 3, .1 * 3]) assert numpy.allclose(aval, [.4, .9 * 3, .1 * 3])
def test_inc_adv_selection2(self): def test_inc_adv_subtensor_w_2vec(self):
if not AdvancedIncSubtensor.increment_available: if not AdvancedIncSubtensor.increment_available:
raise SkipTest("inc_subtensor with advanced indexing not enabled. " raise SkipTest("inc_subtensor with advanced indexing not enabled. "
"Installing NumPy 1.8 or the latest development version " "Installing NumPy 1.8 or the latest development version "
...@@ -3785,7 +3785,7 @@ class TestAdvancedSubtensor(unittest.TestCase): ...@@ -3785,7 +3785,7 @@ class TestAdvancedSubtensor(unittest.TestCase):
[5 * 3, 6, 7], [5 * 3, 6, 7],
[.5, .3 * 2, .15]]), aval [.5, .3 * 2, .15]]), aval
def test_inc_adv_selection_with_broadcasting(self): def test_inc_adv_subtensor_with_broadcasting(self):
if not AdvancedIncSubtensor.increment_available: if not AdvancedIncSubtensor.increment_available:
raise SkipTest("inc_subtensor with advanced indexing not enabled. " raise SkipTest("inc_subtensor with advanced indexing not enabled. "
"Installing NumPy 1.8 or the latest development version " "Installing NumPy 1.8 or the latest development version "
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论