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

flask-restful / flask-restful / 1144 / 22
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 28 Jan 2020 09:25PM UTC
Files 10
Run time 1s
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

28 Jan 2020 09:19PM UTC coverage: 93.458% (-0.2%) from 93.692%
FLASK=0.10

push

travis-ci

joshfriend
Fix wrongly parsed Decimal fields (#855)

* Add test proving the Decimal issue

* Stop passing the field name to the Decimal constructor

When special-casing the request parser for Decimal, passing the name of
the field as second argument is incorrect.

The second argument of Decimal is a context. Python 3 checks this is in
fact a context, whereas Python 2 ignores it if not needed. This means in
Python 3 that special case line is never successful, so it is handled
below. However, there is a difference: the first converts to string, the
second does not. This results in different values of Decimal being
parsed.

293 of 331 branches covered (88.52%)

800 of 856 relevant lines covered (93.46%)

0.93 hits per line

Source Files on job 1144.22 (FLASK=0.10)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1126
  • Travis Job 1144.22
  • 534fc203 on github
  • Prev Job for FLASK=0.10 on master (#1133.1)
  • Next Job for FLASK=0.10 on master (#1146.1)
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

© 2026 Coveralls, Inc