File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed
tests/test_projects/test_parallelSDC Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ script:
3636 - mkdir data
3737 - which nosetests
3838 - nosetests tests --with-coverage --cover-inclusive --cover-package=pySDC,tutorial --cover-html --cover-html-dir=target/doc/build/test_coverage
39- - travis-sphinx build
39+ - if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]] travis-sphinx build
4040
4141after_success :
42- - travis-sphinx deploy
42+ - if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]] travis-sphinx deploy
4343
Original file line number Diff line number Diff line change @@ -10,3 +10,12 @@ Results:
1010
1111.. image :: ../../../data/parallelSDC_fisher.png
1212 :scale: 50 %
13+
14+ Full code: `projects/parallelSDC/newton_vs_sdc.py <https://github.com/Parallel-in-Time/pySDC/blob/master/projects/parallelSDC/newton_vs_sdc.py >`_
15+
16+ .. literalinclude :: ../../../projects/parallelSDC/newton_vs_sdc.py
17+
18+ Results:
19+
20+ .. image :: ../../../data/parallelSDC_fisher_newton.png
21+ :scale: 50 %
Original file line number Diff line number Diff line change 1+ import sys
2+
13from projects .parallelSDC .nonlinear_playground import main , plot_graphs
24from projects .parallelSDC .newton_vs_sdc import plot_graphs as plot_graphs_newton_vs_sdc
35
@@ -6,4 +8,5 @@ def test_main():
68 plot_graphs ()
79
810def test_plot_newton_vs_sdc ():
9- plot_graphs_newton_vs_sdc (cwd = 'projects/parallelSDC/' )
11+ if sys .version_info >= (3 , 0 ):
12+ plot_graphs_newton_vs_sdc (cwd = 'projects/parallelSDC/' )
You can’t perform that action at this time.
0 commit comments