• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Bogdanp / markii / 27
100%

Build:
DEFAULT BRANCH: master
Ran 19 Feb 2016 11:14PM UTC
Jobs 2
Files 6
Run time 15s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
27

Pull #1

travis-ci

rskm1
Update markii.py

This was blowing up when the stack trace originated from the Jinja2 template renderer, because the frame was this:

FRAME=Frame_Info: <frame object at 0xfadd2800> code=<code object block "tab" at 0xfaf55de8, file "templates/account/billing/base.html", line 13> lineno=13 

and inspect.getblock() choked on this tokenizer error:

INSPECT_GETBLOCK_UNEXPECTED_EXCEPTION: ('EOF in multi-line statement', (17, 0))

when it was fed these lines:

LINES=["{% extends 'account/base.html' %}\n", '\n', '{% block tab %}\n', '<div>\n', ' <ul class="nav nav-tabs">\n', ' <li{% if request.path == url(\'subscription\') %} class="active"{% endif %}><a href="{{url(\'subscription\')}}">Subscription</a></li>\n', " {% if account.status not in ('past_due', 'pending') %}\n", ' <li{% if request.path == url(\'upgrade_subscription\') %} class="active"{% endif %}><a href="{{url(\'upgrade_subscription\')}}">Upgrade My Account</a></li>\n', ' {% endif %}\n', ' {#<li{% if request.path == url(\'payment_method\') %} class="active"{% endif %}><a href="{{url(\'payment_method\')}}">Payment Method</a></li>#}\n', ' <li{% if request.path == url(\'billing_history\') %} class="active"{% endif %}><a href="{{url(\'billing_history\')}}">Billing History</a></li>\n', ' </ul>\n', ' {% block billing_tab %}\n', ' {% endblock %}\n', '</div>\n', '{% endblock %}\n']
Pull Request #1: Make it not crash when the stack frame contains something other than Python code

3 of 3 new or added lines in 1 file covered. (100.0%)

103 of 111 relevant lines covered (92.79%)

1.86 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
markii/markii.py
Jobs
ID Job ID Ran Files Coverage
1 27.1 (PYTHONPATH=.) 19 Feb 2016 11:14PM UTC 0
92.79
Travis Job 27.1
2 27.2 (PYTHONPATH=.) 19 Feb 2016 11:14PM UTC 0
92.79
Travis Job 27.2
Source Files on build 27
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #27
  • Pull Request #1
  • PR Base - master (#26)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc