- 18 Şub, 2005 1 kayıt (commit)
-
-
Walter Dörwald yazdı
and UserString.MutableString.__delitem__.
-
- 17 Şub, 2005 3 kayıt (commit)
-
-
Walter Dörwald yazdı
-
Walter Dörwald yazdı
-
Walter Dörwald yazdı
-
- 04 Agu, 2004 1 kayıt (commit)
-
-
Hye-Shik Chang yazdı
unicodedata.east_asian_width(). You can still implement your own simple width() function using it like this: def width(u): w = 0 for c in unicodedata.normalize('NFC', u): cwidth = unicodedata.east_asian_width(c) if cwidth in ('W', 'F'): w += 2 else: w += 1 return w
-
- 04 Haz, 2004 1 kayıt (commit)
-
-
Hye-Shik Chang yazdı
addition to unicode objects.
-
- 01 May, 2003 1 kayıt (commit)
-
-
Walter Dörwald yazdı
and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807.
-
- 21 Şub, 2003 1 kayıt (commit)
-
-
Walter Dörwald yazdı
between str, unicode, UserString and the string module as possible. This increases code coverage in stringobject.c from 83% to 86% and should help keep the string classes in sync in the future. From SF patch #662807
-
- 09 Agu, 2002 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
Closes SF Bug #592573 where inplace add mutated a UserString. Added unittests to verify the bug is cleared.
-
- 06 Agu, 2002 1 kayıt (commit)
-
-
Barry Warsaw yazdı
string of longer than 1 character.
-
- 23 Tem, 2002 1 kayıt (commit)
-
-
Barry Warsaw yazdı
imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
-
- 12 Nis, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
The test function's signature should be test(methodname, input, output, *args) but the output argument was omitted. This caused all tests to fail, because the expected output was passed as the initial argument to the method call. But because of the way the test works (it compares the results for a regular string to the results for a UserString instance with the same value, and it's OK if both raise the same exception) the test never failed! I've fixed this, and also cleaned up a few warts in the verbose output. Finally, I've made it possible to run the test stand-alone in verbose mode by passing -v as a command line argument. Now, the test will report failure related to zfill. That's not my fault, that's a legitimate problem: the string_tests.py file contains a test for the zfill() method (just added) but this method is not implemented. The responsible party will surely fix this soon now.
-
- 09 Şub, 2001 1 kayıt (commit)
-
-
Eric S. Raymond yazdı
(This one was trivial -- no actual string. references in it!)
-
- 17 Ock, 2001 2 kayıt (commit)
-
-
Fredrik Lundh yazdı
'verify' iff it's used by a test module...
-
Marc-André Lemburg yazdı
and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
-
- 10 Tem, 2000 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
test_string and test_userstring run same tests for string methods
-
- 03 Nis, 2000 1 kayıt (commit)
-
-
Fred Drake yazdı
-