Skip to content

Commit 9f829f2

Browse files
committed
pep8
1 parent 3da5edb commit 9f829f2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

code/test.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ def test_logistic_cg():
2424
logistic_cg.cg_optimization_mnist(n_epochs=10)
2525
except ImportError:
2626
from nose.plugins.skip import SkipTest
27-
raise SkipTest('SciPy not available. Needed for the logistic_cg example.')
27+
raise SkipTest(
28+
'SciPy not available. Needed for the logistic_cg example.')
2829

2930

3031
def test_mlp():
@@ -34,6 +35,7 @@ def test_mlp():
3435
def test_convolutional_mlp():
3536
convolutional_mlp.evaluate_lenet5(n_epochs=1, nkerns=[5, 5])
3637

38+
3739
def test_dA():
3840
dA.test_dA(training_epochs=1, output_folder='tmp_dA_plots')
3941

@@ -50,9 +52,11 @@ def test_rbm():
5052
rbm.test_rbm(training_epochs=1, batch_size=300, n_chains=1, n_samples=1,
5153
n_hidden=20, output_folder='tmp_rbm_plots')
5254

55+
5356
def test_rnnrbm():
5457
rnnrbm.test_rnnrbm(num_epochs=1)
5558

59+
5660
def speed():
5761
"""
5862
This fonction modify the configuration theano and don't restore it!

0 commit comments

Comments
 (0)