A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-August/017096.html below:

[Python-Dev] test_builtin failing for anyone else?

[Python-Dev] test_builtin failing for anyone else?Tim Peters tim.one@home.com
Fri, 17 Aug 2001 15:17:51 -0400
I'm seeing this after Martin's large Unicode patch.  However, I'm also
working on a different patch that mucks with builtins, so I'd just like to
know whether I'm the only one seeing this:

C:\Code\python\PCbuild>python ../lib/test/test_builtin.py
4. Built-in functions
test_b1
__import__
abs
apply
callable
chr
cmp
coerce
compile
complex
delattr
dir
divmod
eval
execfile
filter
float
Traceback (most recent call last):
  File "../lib/test/test_builtin.py", line 9, in ?
    import test_b1
  File "../lib/test\test_b1.py", line 259, in ?
    if float(unicode("  \u0663.\u0661\u0664  ")) != 3.14:
ValueError: invalid literal for float(): \u0663.\u0661\u0664

C:\Code\python\PCbuild>

Oops -- I'm also seeing a Unicode-related failure in test_format.py:

...
u'abc %\\\u3000' % 1 works? ... no
Unexpected  exceptions.ValueError : "unsupported format character '\\'
 (0x5c) at index 5"

That's it.  Anyone else?




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4