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

joke2k / faker / 2657 / 7
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 02 Mar 2020 03:18PM UTC
Files 416
Run time 2min
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

02 Mar 2020 03:15PM UTC coverage: 96.881% (-0.01%) from 96.893%
TOXENV=py38

push

travis-ci

web-flow
ISSUE-1123 handle leap day year shifts (#1124)

When Faker attempts to generate a date_of_birth on 29th of February on the leap year it fails  if it tries to return a year that is not also a leap year.

This patch fixes the issue by extracting the year adjust to its own function that catches the ValueError and if the starting date is YYYY-02-29 it will adjust the date to YYYY-03-01.

6399 of 6605 relevant lines covered (96.88%)

0.97 hits per line

Source Files on job 2657.7 (TOXENV=py38)
  • Tree
  • List 0
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2514
  • Travis Job 2657.7
  • f874509a on github
  • Prev Job for TOXENV=py38 on master (#2641.7)
  • Next Job for TOXENV=py38 on master (#2658.7)
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