cpython: c2d3d8c3e0bf (original) (raw)

Mercurial > cpython

changeset 101625:c2d3d8c3e0bf

Merge: #27185: move test_pep292 into test_string. [#27185]

R David Murray rdmurray@bitdance.com
date Thu, 02 Jun 2016 19:38:20 -0400
parents 7f3ebd86464b(current diff)89abefdebf4d(diff)
children 5a4ace14b350
files Lib/test/test_pep292.py Misc/ACKS
diffstat 3 files changed, 241 insertions(+), 248 deletions(-)[+] [-] Lib/test/test_pep292.py 248 Lib/test/test_string.py 240 Misc/ACKS 1

line wrap: on

line diff

deleted file mode 100644 --- a/Lib/test/test_pep292.py +++ /dev/null @@ -1,248 +0,0 @@ -# Copyright (C) 2004 Python Software Foundation -# Author: barry@python.org (Barry Warsaw) -# License: http://www.opensource.org/licenses/PythonSoftFoundation.php[](#l1.7) - -import unittest -from string import Template - - -class Bag:

- -class Mapping:

- - -class TestTemplate(unittest.TestCase):

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

- - -if name == 'main':

--- a/Lib/test/test_string.py +++ b/Lib/test/test_string.py @@ -187,5 +187,245 @@ class ModuleTest(unittest.TestCase): self.assertIn("recursion", str(err.exception)) +# Template tests (formerly housed in test_pep292.py) + +class Bag:

+ +class Mapping:

+ + +class TestTemplate(unittest.TestCase):

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+ + if name == "main": unittest.main()

--- a/Misc/ACKS +++ b/Misc/ACKS @@ -176,6 +176,7 @@ Monty Brandenberg Georg Brandl Christopher Brannon Terrence Brannon +Erin Braswell Sven Brauch Germán M. Bravo Erik Bray