From 80e00f11839e9171693317fda008d178271bfd32 Mon Sep 17 00:00:00 2001 From: Chen Dian Date: Thu, 20 Apr 2017 17:23:28 +0800 Subject: [PATCH] Modify function names. There might be several spelling error. replace 'rasie' in func_name to 'raise'. --- tensorflow_fold/blocks/blocks_test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tensorflow_fold/blocks/blocks_test.py b/tensorflow_fold/blocks/blocks_test.py index fc4b2dc..f681f38 100644 --- a/tensorflow_fold/blocks/blocks_test.py +++ b/tensorflow_fold/blocks/blocks_test.py @@ -237,20 +237,20 @@ def test_composition_no_output_void_type(self): b = tdb.AllOf(tdb.Void(), tdb.Scalar()) >> tdb.GetItem(1) self.assertBuildsConst(42., b, 42) - def test_composition_rasies_read_output(self): + def test_composition_raises_read_output(self): a = tdb.Scalar() c = tdb.Composition([a]) self.assertRaisesWithLiteralMatch( ValueError, 'cannot read from composition output', c.connect, c.output, a) - def test_composition_rasies_write_input(self): + def test_composition_raises_write_input(self): a = tdb.Scalar() c = tdb.Composition([a]) self.assertRaisesWithLiteralMatch( ValueError, 'cannot write to composition input', c.connect, a, c.input) - def test_composition_rasies_foreign_io(self): + def test_composition_raises_foreign_io(self): a = tdb.Scalar() c = tdb.Composition([a]) c2 = tdb.Composition()