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

micropython / micropython / 14579 / 6
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 29 Oct 2020 03:59AM UTC
Files 277
Run time 23s
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

29 Oct 2020 03:15AM UTC coverage: 98.02% (+0.004%) from 98.016%
MAKEOPTS="-j4"

push

travis-ci-com

dpgeorge
extmod/modurandom: Support urandom.seed() without an argument.

If a port provides MICROPY_PY_URANDOM_SEED_INIT_FUNC as a source of
randomness then this will be used when urandom.seed() is called without
an argument (or with None as the argument) to seed the pRNG.

Other related changes in this commit:
- mod_urandom___init__ is changed to call seed() without arguments, instead
  of explicitly passing in the result of MICROPY_PY_URANDOM_SEED_INIT_FUNC.
- mod_urandom___init__ will only ever seed the pRNG once (before it could
  seed it again if imported by, eg, random and then urandom).
- The Yasmarang state is moved to the BSS for builds where the state is
  guaranteed to be initialised on import of the (u)random module.

Signed-off-by: Damien George <damien@micropython.org>

19507 of 19901 relevant lines covered (98.02%)

414029.48 hits per line

Source Files on job 14579.6 (MAKEOPTS="-j4")
  • Tree
  • List 0
  • Changed 71
  • Source Changed 1
  • Coverage Changed 71
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14122
  • Travis Job 14579.6
  • 6f348008 on github
  • Prev Job for MAKEOPTS="-j4" on master (#14577.6)
  • Next Job for MAKEOPTS="-j4" on master (#14581.6)
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