##// END OF EJS Templates
use better integration boundaries...
use better integration boundaries Because this example intends to illustrate the difference between trapezoid rule and high-order integration, choose an appropriate integration interval where such a difference exists. Also implement the trapezoid rule directly for pedagogical purposes, instead of relying on a canned version from scipy.

File last commit:

r7863:28e099c2
r19878:9f0fa954
Show More
post_pr_test.py
13 lines | 308 B | text/x-python | PythonLexer
#!/usr/bin/env python
"""Post the results of a pull request test to Github.
"""
from test_pr import TestRun
testrun = TestRun.load_results()
testrun.post_logs()
testrun.print_results()
testrun.post_results_comment()
print()
print("Posted test results to pull request")
print(" " + testrun.pr['html_url'])