New submission from Brian Landers :
The cgi.escape method is deprecated, but it should still have test coverage.
This patch adds a test for it.
--
components: Tests
files: cgi_test_escape.patch
keywords: patch
messages: 155563
nosy: packetslave
priority: normal
severity: normal
status
New submission from Brian Landers :
Adding some tests to non-default code paths in hmac.py to get to 100% coverage.
--
components: Tests
files: test_hmac.patch
keywords: patch
messages: 155913
nosy: packetslave
priority: normal
severity: normal
status: open
title: More test coverage for
New submission from Brian Landers :
There doesn't seem to be a standard definition for the constants to use when
doing the matrix calculations to convert RGB to YIQ or vise versa.
Also, the current colorsys library uses two digits of precision for RGB-YIQ but
six digits for YIQ-RGB.
Changes by Brian Landers :
Added file: http://bugs.python.org/file24867/acks.patch
___
Python tracker
<http://bugs.python.org/issue14323>
___
___
Python-bugs-list mailin
Brian Landers added the comment:
Matlab docs are here:
- http://www.mathworks.com/help/toolbox/images/ref/rgb2ntsc.html
- http://www.mathworks.com/help/toolbox/images/ref/ntsc2rgb.html
Should these be referenced in the source itself?
re new versions: sure, I'll create a separate patc
Brian Landers added the comment:
Updated to add Matlab refs, also added a roundtrip RGB-YIQ-RGB test to match
the other conversions.
--
Added file: http://bugs.python.org/file24895/colorlib.patch
___
Python tracker
<http://bugs.python.
Brian Landers added the comment:
Updated to use the correct assert* methods.
--
Added file: http://bugs.python.org/file24896/test_hmac.patch
___
Python tracker
<http://bugs.python.org/issue14