annotate Lib/test/test_email.py @ 79675:c0a2294de787 2.7

Issue #16199: Backport 2to3 typo fix from 3.2.
author Chris Jerdonek <chris.jerdonek@gmail.com>
date Thu, 11 Oct 2012 16:15:46 -0700
parents 1d84bf5f9478
children 30f92600df9d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
21815
905213e28677 test_multipart_one_part(): Idempotency test case for a multipart/*
Barry Warsaw <barry@python.org>
parents: 21503
diff changeset
1 # Copyright (C) 2001,2002 Python Software Foundation
20043
66bb10ee4961 An extensive test suite for the email package.
Barry Warsaw <barry@python.org>
parents:
diff changeset
2 # email package unit tests
66bb10ee4961 An extensive test suite for the email package.
Barry Warsaw <barry@python.org>
parents:
diff changeset
3
24336
2f60344a49e8 The email package's tests live much better in a subpackage
Barry Warsaw <barry@python.org>
parents: 24161
diff changeset
4 # The specific tests now live in Lib/email/test
24337
49a3e83347dd Shut the test up and add a missing import
Barry Warsaw <barry@python.org>
parents: 24336
diff changeset
5 from email.test.test_email import suite
41554
06145fbc7ab9 Merged revisions 53952-54987 via svnmerge from
Guido van Rossum <guido@python.org>
parents: 25612
diff changeset
6 from test import test_support
23066
03ff3569ba04 test_main(): Added this so the test can actually get run under the
Barry Warsaw <barry@python.org>
parents: 22939
diff changeset
7
25612
3eee72931d17 Make sure the email test suite can be run both stand-alone and under
Guido van Rossum <guido@python.org>
parents: 24337
diff changeset
8 def test_main():
41554
06145fbc7ab9 Merged revisions 53952-54987 via svnmerge from
Guido van Rossum <guido@python.org>
parents: 25612
diff changeset
9 test_support.run_unittest(suite())
25612
3eee72931d17 Make sure the email test suite can be run both stand-alone and under
Guido van Rossum <guido@python.org>
parents: 24337
diff changeset
10
21296
bb78a52b8ffc I found that when run as a script, this test suite ran its tests
Guido van Rossum <guido@python.org>
parents: 21056
diff changeset
11 if __name__ == '__main__':
25612
3eee72931d17 Make sure the email test suite can be run both stand-alone and under
Guido van Rossum <guido@python.org>
parents: 24337
diff changeset
12 test_main()