Searched refs:__unicode__ (Results 1 - 22 of 22) sorted by relevance

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/test/
H A Dtest_email_codecs.py54 eq(h.__unicode__().encode('euc-jp'), long)
H A Dtest_email_codecs_renamed.py54 eq(h.__unicode__().encode('euc-jp'), long)
H A Dtest_email.py1644 hu = make_header(dh).__unicode__()
H A Dtest_email_renamed.py1581 hu = make_header(dh).__unicode__()
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/test/
H A Dtest_email_codecs.py54 eq(h.__unicode__().encode('euc-jp'), long)
H A Dtest_email_codecs_renamed.py54 eq(h.__unicode__().encode('euc-jp'), long)
H A Dtest_email.py1644 hu = make_header(dh).__unicode__()
H A Dtest_email_renamed.py1581 hu = make_header(dh).__unicode__()
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/
H A Dpytree.py274 def __unicode__(self): member in class:Node
283 __str__ = __unicode__
385 def __unicode__(self): member in class:Leaf
394 __str__ = __unicode__
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_str.py53 def __unicode__(self): member in class:StrTest.test_conversion.Foo0
80 def __unicode__(self): member in class:StrTest.test_conversion.Foo6
86 def __unicode__(self): member in class:StrTest.test_conversion.Foo7
98 def __unicode__(self): member in class:StrTest.test_conversion.Foo9
101 self.assertTrue(str(Foo0()).startswith("<")) # this is different from __unicode__
H A Dtest_unicode.py699 def __unicode__(self): member in class:UnicodeTest.test_constructor.UnicodeCompat
703 unicode(UnicodeCompat('__unicode__ compatible objects are recognized')),
704 u'__unicode__ compatible objects are recognized')
723 # %-formatting and .__unicode__()
725 UnicodeCompat(u"u'%s' % obj uses obj.__unicode__()"),
726 u"u'%s' % obj uses obj.__unicode__()")
1207 # Make sure __unicode__() works properly
1213 def __unicode__(self): member in class:UnicodeTest.test_conversion.Foo1
1217 def __unicode__(self): member in class:UnicodeTest.test_conversion.Foo2
1221 def __unicode__(sel member in class:UnicodeTest.test_conversion.Foo3
1225 def __unicode__(self): member in class:UnicodeTest.test_conversion.Foo4
1229 def __unicode__(self): member in class:UnicodeTest.test_conversion.Foo5
1236 def __unicode__(self): member in class:UnicodeTest.test_conversion.Foo6
1242 def __unicode__(self): member in class:UnicodeTest.test_conversion.Foo7
1248 def __unicode__(self): member in class:UnicodeTest.test_conversion.Foo8
1254 def __unicode__(self): member in class:UnicodeTest.test_conversion.Foo9
1630 def __unicode__(self): member in class:UnicodeTest.test_format_subclass.U
[all...]
H A Dtest_weakref.py218 def __unicode__(self): member in class:ReferencesTestCase.test_proxy_unicode.C
221 self.assertIn("__unicode__", dir(weakref.proxy(instance)))
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/
H A Dpytree.py274 def __unicode__(self): member in class:Node
283 __str__ = __unicode__
385 def __unicode__(self): member in class:Leaf
394 __str__ = __unicode__
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_str.py53 def __unicode__(self): member in class:StrTest.test_conversion.Foo0
80 def __unicode__(self): member in class:StrTest.test_conversion.Foo6
86 def __unicode__(self): member in class:StrTest.test_conversion.Foo7
98 def __unicode__(self): member in class:StrTest.test_conversion.Foo9
101 self.assertTrue(str(Foo0()).startswith("<")) # this is different from __unicode__
H A Dtest_unicode.py699 def __unicode__(self): member in class:UnicodeTest.test_constructor.UnicodeCompat
703 unicode(UnicodeCompat('__unicode__ compatible objects are recognized')),
704 u'__unicode__ compatible objects are recognized')
723 # %-formatting and .__unicode__()
725 UnicodeCompat(u"u'%s' % obj uses obj.__unicode__()"),
726 u"u'%s' % obj uses obj.__unicode__()")
1207 # Make sure __unicode__() works properly
1213 def __unicode__(self): member in class:UnicodeTest.test_conversion.Foo1
1217 def __unicode__(self): member in class:UnicodeTest.test_conversion.Foo2
1221 def __unicode__(sel member in class:UnicodeTest.test_conversion.Foo3
1225 def __unicode__(self): member in class:UnicodeTest.test_conversion.Foo4
1229 def __unicode__(self): member in class:UnicodeTest.test_conversion.Foo5
1236 def __unicode__(self): member in class:UnicodeTest.test_conversion.Foo6
1242 def __unicode__(self): member in class:UnicodeTest.test_conversion.Foo7
1248 def __unicode__(self): member in class:UnicodeTest.test_conversion.Foo8
1254 def __unicode__(self): member in class:UnicodeTest.test_conversion.Foo9
1630 def __unicode__(self): member in class:UnicodeTest.test_format_subclass.U
[all...]
H A Dtest_weakref.py218 def __unicode__(self): member in class:ReferencesTestCase.test_proxy_unicode.C
221 self.assertIn("__unicode__", dir(weakref.proxy(instance)))
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/
H A Dheader.py206 def __unicode__(self):
202 def __unicode__(self): member in class:Header
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/
H A Dheader.py206 def __unicode__(self):
202 def __unicode__(self): member in class:Header
/prebuilts/misc/common/jython/
H A Djython.jarMETA-INF/MANIFEST.MF com/xhaus/modjy/ModjyJServlet.class ModjyJServlet.java package com.xhaus ...
/prebuilts/devtools/tools/lib/
H A Djython-standalone-2.5.3.jarMETA-INF/MANIFEST.MF META-INF/LICENSE META-INF/NOTICE META-INF/maven/jline/ ...
/prebuilts/tools/common/m2/repository/org/python/jython/2.5.3/
H A Djython-2.5.3.jarMETA-INF/MANIFEST.MF META-INF/services/javax.script.ScriptEngineFactory com/xhaus/modjy/ModjyJServlet ...
/prebuilts/tools/common/m2/repository/org/python/jython-standalone/2.5.3/
H A Djython-standalone-2.5.3.jarMETA-INF/MANIFEST.MF META-INF/LICENSE META-INF/NOTICE META-INF/maven/jline/ ...

Completed in 2992 milliseconds