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

hgrecco / pyvisa-py
20%

Build:
DEFAULT BRANCH: master
Repo Added 09 Dec 2014 12:48PM UTC
Files 14
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 master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • 0.1
  • _original

pending completion
96

Pull #97

travis-ci

web-flow
Use repr() instead of str() for logging the RPC record

On Python 2.7 the str() representation of the record can't be printed to the terminal it isn't in utf-8 mode.
This will cause "UnicodeDecodeError: 'ascii' codec can't decode byte" errors to be printed, instead of the log message.
Use %r to format the record instead, in order to avoid this problem.
Pull Request #97: Use repr() instead of str() for logging the RPC record

410 of 2006 relevant lines covered (20.44%)

0.81 hits per line

Relevant lines Covered
Build:
Build:
2006 RELEVANT LINES 410 COVERED LINES
0.81 HITS PER LINE
Source Files on master
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
96 master Use repr() instead of str() for logging the RPC record On Python 2.7 the str() representation of the record can't be printed to the terminal it isn't in utf-8 mode. This will cause "UnicodeDecodeError: 'ascii' codec can't decode byte" errors to ... Pull #97 09 May 2017 05:42PM UTC web-flow travis-ci pending completion  
95 master Speed up large transfers over GPIB Reading one byte at a time from linux-gpib can be very slow. This change passes the read count directly to linux-gpib, making large transfers much faster. push 22 Aug 2016 03:19PM UTC Hernan Grecco travis-ci pending completion  
94 master Avoid unnecessary string parsing. push 22 Aug 2016 03:09PM UTC hgrecco travis-ci pending completion  
93 master Merge branch 'timeout' of http://github.com/herm/pyvisa-py into herm-timeout push 22 Aug 2016 03:07PM UTC hgrecco travis-ci pending completion  
92 master Fixed a bug where encode() was being called on a byte array Pull #86 08 Jul 2016 04:50PM UTC web-flow travis-ci pending completion  
91 master TCPIP error handling fixes Added error handling for VisaIOErrors, raised with the appropriate error code. Added error handling for socket.timeout, raised when the TCPIP-connected instrument stops responding. This could be due to a network issue o... Pull #85 07 Jul 2016 09:43PM UTC web-flow travis-ci pending completion  
90 master Speed up large transfers over GPIB Reading one byte at a time from linux-gpib can be very slow. This change passes the read count directly to linux-gpib, making large transfers much faster. Pull #81 25 Apr 2016 05:39PM UTC Duncanla travis-ci pending completion  
89 master Make preetier error messages push 14 Jan 2016 03:38AM UTC hgrecco travis-ci pending completion  
88 master Fix to track changes in the PyUSB broadening exceptions push 11 Jan 2016 01:39AM UTC hgrecco travis-ci pending completion  
87 master unfuck broken string decoding. Pull #76 29 Dec 2015 10:51PM UTC fake-name travis-ci pending completion  
See All Builds (90)
  • 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

© 2025 Coveralls, Inc