mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Changed to use 'U' argument to PyArg_ParseTuple, instead of manually checking for unicode objects.
This commit is contained in:
parent
a95207ab3b
commit
37f10386f1
6 changed files with 16 additions and 21 deletions
|
@ -581,9 +581,6 @@ class UnicodeTest(
|
|||
self.assertRaises(ValueError, format, "", "-")
|
||||
self.assertRaises(ValueError, "{0:=s}".format, '')
|
||||
|
||||
# check that __format__ returns a string
|
||||
#self.assertRaises(TypeError, "{0}".format, H())
|
||||
|
||||
def test_formatting(self):
|
||||
string_tests.MixinStrUnicodeUserStringTest.test_formatting(self)
|
||||
# Testing Unicode formatting strings...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue