Commit baadeb61 authored by leswing's avatar leswing
Browse files

Retry flaky test

parent 488162ae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ install:
- pip install coveralls
- python setup.py install
script:
- nosetests -a '!slow' --with-timer --with-coverage --cover-package=deepchem -v deepchem --nologcapture
- nosetests --with-flaky -a '!slow' --with-timer --with-coverage --cover-package=deepchem -v deepchem --nologcapture
- find ./deepchem | grep .py$ |xargs python -m doctest -v
- bash devtools/travis-ci/test_format_code.sh
after_success:
+2 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ import unittest
import numpy as np
import os
from nose.tools import assert_true
from flaky import flaky

import deepchem as dc
from deepchem.data import NumpyDataset
@@ -37,6 +38,7 @@ class TestTensorGraph(unittest.TestCase):
    prediction = np.squeeze(tg.predict_proba_on_batch(X))
    assert_true(np.all(np.isclose(prediction, y, atol=0.4)))

  @flaky
  def test_multi_task_classifier(self):
    n_data_points = 20
    n_features = 2
+1 −0
Original line number Diff line number Diff line
@@ -40,3 +40,4 @@ conda install -y -c anaconda pandas=0.19.2
yes | pip install $tensorflow==1.0.1
yes | pip install nose
yes | pip install nose-timer
yes | pip install flaky==3.3.0