Hi Everyone, I was wondering if anyone would mind applying this patch that causes a few more tests to pass on windows. After this has been applied I've got the number of test failures (on windows) down to 14. Cheers, Ben
Not sure if the patch actually got through. Here it is directly: Index: module/unicodedata/test/test_unicodedata.py =================================================================== --- module/unicodedata/test/test_unicodedata.py (revision 16097) +++ module/unicodedata/test/test_unicodedata.py (working copy) @@ -42,9 +42,12 @@ def test_cjk(self): import unicodedata + import sys for first, last in ((0x3400, 0x4DB5), (0x4E00, 0x9FA5), # 9FBB in Unicode 4.1 (0x20000, 0x2A6D6)): + if last + 1 > sys.maxunicode: + continue # Test at and inside the boundary for i in (first, first + 1, last - 1, last): charname = 'CJK UNIFIED IDEOGRAPH-%X'%i Index: module/__builtin__/test/impsubdir/compiled/x.pyc =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: lib/test2/test_file_extra.py =================================================================== --- lib/test2/test_file_extra.py (revision 16097) +++ lib/test2/test_file_extra.py (working copy) @@ -27,7 +27,7 @@ def test_repr(self): r = repr(self.file) assert r.find('open file') >= 0 - assert r.find(self.file.name) >= 0 + assert r.find(repr(self.file.name)) >= 0 assert r.find(self.file.mode) >= 0 class TestFdFile(TestFile): Index: translator/llvm2/test/test_lltype.py =================================================================== --- translator/llvm2/test/test_lltype.py (revision 16097) +++ translator/llvm2/test/test_lltype.py (working copy) @@ -227,9 +227,9 @@ floats.f1 = 1.25 floats.f2 = 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.252984 floats.f3 = float(29050000000000000000000000000000000000000000000000000000000000000000) - floats.f4 = float("inf") - floats.f5 = float("nan") - f = float("nan") + #floats.f4 = float("inf") + #floats.f5 = float("nan") + #f = float("nan") def floats_fn(): res = floats.f1 == 1.25 res += floats.f2 > 1e100 pypy-dev-bounces@codespeak.net wrote on 16/08/2005 11:44:44:
Hi Everyone,
I was wondering if anyone would mind applying this patch that causes a few more tests to pass on windows. After this has been applied I've got the number of test failures (on windows) down to 14.
Cheers, Ben_______________________________________________ pypy-dev@codespeak.net http://codespeak.net/mailman/listinfo/pypy-dev
Hi Ben, An updated version is now in svn that should work on windows - but isnt tested yet. Thanks for reporting it. (thanks to mwh for helping fix it) Cheers, Richard On Tue, 16 Aug 2005 Ben.Young@risk.sungard.com wrote:
Index: module/unicodedata/test/test_unicodedata.py Index: translator/llvm2/test/test_lltype.py =================================================================== --- translator/llvm2/test/test_lltype.py (revision 16097) +++ translator/llvm2/test/test_lltype.py (working copy) @@ -227,9 +227,9 @@ floats.f1 = 1.25 floats.f2 = 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.252984 floats.f3 = float(29050000000000000000000000000000000000000000000000000000000000000000) - floats.f4 = float("inf") - floats.f5 = float("nan") - f = float("nan") + #floats.f4 = float("inf") + #floats.f5 = float("nan") + #f = float("nan") def floats_fn(): res = floats.f1 == 1.25 res += floats.f2 > 1e100
pypy-dev-bounces@codespeak.net wrote on 16/08/2005 11:44:44:
Hi Everyone,
I was wondering if anyone would mind applying this patch that causes a few more tests to pass on windows. After this has been applied I've got the number of test failures (on windows) down to 14.
Cheers, Ben_______________________________________________ pypy-dev@codespeak.net http://codespeak.net/mailman/listinfo/pypy-dev
pypy-dev@codespeak.net http://codespeak.net/mailman/listinfo/pypy-dev
participants (2)
-
Ben.Young@risk.sungard.com
-
Richard Emslie