~pythonregexp2.7/python/issue2636-01+09-01-01

« back to all changes in this revision

Viewing changes to Lib/test/test_str.py

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-09-22 00:02:12 UTC
  • mfrom: (39022.1.34 Regexp-2.7)
  • Revision ID: darklord@timehorse.com-20080922000212-7r0q4f4ugiq57jph
Merged in changes from the Atomic Grouping / Possessive Qualifiers branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
364
364
        self.assertRaises(ValueError, format, "", "-")
365
365
        self.assertRaises(ValueError, "{0:=s}".format, '')
366
366
 
 
367
    def test_buffer_is_readonly(self):
 
368
        self.assertRaises(TypeError, sys.stdin.readinto, b"")
 
369
 
367
370
 
368
371
def test_main():
369
372
    test_support.run_unittest(StrTest)