~ubuntu-branches/ubuntu/lucid/python2.6/lucid

« back to all changes in this revision

Viewing changes to Lib/test/test_datetime.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-03-11 13:30:19 UTC
  • mto: (10.1.13 sid)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: james.westby@ubuntu.com-20100311133019-sblbooa3uqrkoe70
Tags: upstream-2.6.5~rc2
ImportĀ upstreamĀ versionĀ 2.6.5~rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1173
1173
        self.assertEqual(t.isoformat(),    "0002-03-02T04:05:01.000123")
1174
1174
        self.assertEqual(t.isoformat('T'), "0002-03-02T04:05:01.000123")
1175
1175
        self.assertEqual(t.isoformat(' '), "0002-03-02 04:05:01.000123")
 
1176
        self.assertEqual(t.isoformat('\x00'), "0002-03-02\x0004:05:01.000123")
1176
1177
        # str is ISO format with the separator forced to a blank.
1177
1178
        self.assertEqual(str(t), "0002-03-02 04:05:01.000123")
1178
1179