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

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

Build:
DEFAULT BRANCH: master
Ran 28 Jan 2020 09:24PM UTC
Files 10
Run time 3s
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.481% (-0.2%) from 93.692%
FLASK=1.0.2

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.

316 of 354 branches covered (89.27%)

803 of 859 relevant lines covered (93.48%)

0.93 hits per line

Source Files on job 1144.18 (FLASK=1.0.2)
  • 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.18
  • 534fc203 on github
  • Prev Job for FLASK=1.0.2 on master (#1133.3)
  • Next Job for FLASK=1.0.2 on master (#1146.3)
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