Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #100601
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2015-12-18 07:29 -0800 |
| Message-ID | <26045c11-0ceb-46f2-a164-d90727a6acec@googlegroups.com> (permalink) |
| Subject | Python Packaging and being a good testing citizen |
| From | Andy Loughran <andylockran@gmail.com> |
Hey guys, I wrote a python package to deal with heatmiser's protocol when communicating with devices over TCP. It would be good to wrap some tests around it as I know the core elements won't change - but need to add support for different devices and different connection methods. One thing has been bugging me, and that is that pyserial works differently on python2 to python3 due to accepting/rejecting strings in place of the new bytes datatype. I'm not sure how best to test this, so I'm looking for advice: https://www.andyloughran.co.uk/2015/12/16/python-testing/ Regards, Andy
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Python Packaging and being a good testing citizen Andy Loughran <andylockran@gmail.com> - 2015-12-18 07:29 -0800
csiph-web