Home
last modified time | relevance | path

Searched refs:madstring (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_descr.py2777 class madstring(str): class
2786 s = madstring("abcdefghijklmnopqrstuvwxyz")
2788 self.assertEqual(s.rev(), madstring("zyxwvutsrqponmlkjihgfedcba"))
2789 self.assertEqual(s.rev().rev(), madstring("abcdefghijklmnopqrstuvwxyz"))
2791 s = madstring("".join(map(chr, range(i))))
2795 s = madstring("12345")
2800 s = madstring(base)
/external/python/cpython3/Lib/test/
Dtest_descr.py2762 class madstring(str): class
2771 s = madstring("abcdefghijklmnopqrstuvwxyz")
2773 self.assertEqual(s.rev(), madstring("zyxwvutsrqponmlkjihgfedcba"))
2774 self.assertEqual(s.rev().rev(), madstring("abcdefghijklmnopqrstuvwxyz"))
2776 s = madstring("".join(map(chr, range(i))))
2780 s = madstring("12345")
2785 s = madstring(base)