✘tests/pylib/test_util.py
Gary E. Miller
gem at rellim.com
Sat May 6 21:02:45 UTC 2017
Yo Ian!
I just tweaked tests/pylib/test_util.py for pep8. While ruunning it I
see it has 2 test failures, related to our friend the lower case micron
symbol.
blondie ntpsec # tests/pylib/test_util.py
...........FF..
======================================================================
FAIL: test_stringfiltcooker (__main__.TestPylibUtilMethods)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/pylib/test_util.py", line 228, in test_stringfiltcooker
u" 470 420 430 500 460 420.0 490 "
AssertionError: u' 470 420 430 500 460 420.0 490 480 \xb5s' != u' 470 420 430 500 460 420.0 490 480 \\u03bcs'
- 470 420 430 500 460 420.0 490 480 \xb5s
? ^
+ 470 420 430 500 460 420.0 490 480 \u03bcs
? ^^^^^^
======================================================================
FAIL: test_unitify (__main__.TestPylibUtilMethods)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/pylib/test_util.py", line 180, in test_unitify
self.assertEqual(f("0.000", nu.UNIT_MS), u" 0\u03bcs")
AssertionError: u' 0\xb5s' != u' 0\u03bcs'
- 0\xb5s
? ^
+ 0\u03bcs
? ^
I'll leave it to you.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem at rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170506/4b471dad/attachment.bin>
More information about the devel
mailing list