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

ICRAR / ngas / 152 / 3
69%
master: 69%

Build:
DEFAULT BRANCH: master
Ran 09 Jan 2018 10:08AM UTC
Files 159
Run time 6s
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

09 Jan 2018 09:50AM UTC coverage: 63.132% (-0.03%) from 63.159%
DB=postgresql

push

travis-ci

rtobar
Safer imports, take 2

The import machinery in python 2.7 puts the modules into the sys.modules
dictionary *before* the modules themselves are fully loaded (which seems
to be to be like this to be able to detect circular dependencies). Thus,
inspecting the sys.modules for the presence of a module must be done
while holding the importing lock, which we are doing now. An alternative
solution would be to not inspect sys.modules and always use importlib's
import_module (or the old __import__ builtin function), but we probably
want to maintain this little optimization, which also enable us to
cleanly offer reloading support.

Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>

12507 of 19811 relevant lines covered (63.13%)

0.63 hits per line

Source Files on job 152.3 (DB=postgresql)
  • Tree
  • List 0
  • Changed 9
  • Source Changed 1
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 152
  • Travis Job 152.3
  • b95bdb96 on github
  • Prev Job for DB=postgresql on master (#151.3)
  • Next Job for DB=postgresql on master (#162.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