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

iwaseyusuke / ryu / 703 / 4
67%
master: 68%

Build:
Build:
LAST BUILD BRANCH: mrtlib-Support_RFC8050
DEFAULT BRANCH: master
Ran 11 Apr 2017 12:53AM UTC
Files 430
Run time 19s
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

11 Apr 2017 12:45AM UTC coverage: 67.415% (+0.008%) from 67.407%
TOX_ENV=pypy26

push

travis-ci

iwaseyusuke
utils.import_module: Prefer filepath than Python module

Currently, ryu.utils.import_module() prefers the Python module path
than the user specified file path, and if the user app name is the
same with the Python module, this function returns the Python module
instead of the user app.

This patch fixes to try to load "file" before finding the loaded
Python module, and fixes this problem.

Note: With this patch, import_module() will reload (override) a module
if the specified module file name is the same.

Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Signed-off-by: Brad Cowie <brad@gizmoguy.net.nz>

54860 of 81377 relevant lines covered (67.41%)

0.67 hits per line

Source Files on job 703.4 (TOX_ENV=pypy26)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 703
  • Travis Job 703.4
  • 31118fb3 on github
  • Prev Job for TOX_ENV=pypy26 on utils-import_module-Prefer_filepath_than_Python_module (#702.4)
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

© 2025 Coveralls, Inc