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

tnc-ba / swidGenerator
49%
master: 49%

Build:
Build:
LAST BUILD BRANCH: refactorings2
DEFAULT BRANCH: master
Repo Added 28 Apr 2014 01:31PM UTC
Files 17
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

LAST BUILD ON BRANCH fix_separators
branch: fix_separators
CHANGE BRANCH
x
Reset
  • fix_separators
  • arg_cleanup
  • issue186-filter-by-package
  • issue214
  • master
  • pacman
  • py3
  • refactorings2
  • steffen_fixes
  • testing-setup
  • tox
  • v0.1.0
  • v0.1.0rc1
  • v0.1.1

pending completion
274

push

travis-ci

dbrgn
Safely print data to stdout on both Python 2 and 3

On Python 2, binary data can be printed directly to stdout.

On Python 3, binary data should be written to `sys.stdout.buffer` instead
of `sys.stdout` directly.

This commit adds a ``safe_print`` function to handle both unicode and
bytestrings correctly on both Python versions.

168 of 345 relevant lines covered (48.7%)

0.49 hits per line

Relevant lines Covered
Build:
Build:
345 RELEVANT LINES 168 COVERED LINES
0.49 HITS PER LINE
Source Files on fix_separators
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
274 fix_separators Safely print data to stdout on both Python 2 and 3 On Python 2, binary data can be printed directly to stdout. On Python 3, binary data should be written to `sys.stdout.buffer` instead of `sys.stdout` directly. This commit adds a ``safe_print``... push 15 May 2014 12:13AM UTC dbrgn travis-ci pending completion  
See All Builds (67)
  • Repo on GitHub
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