summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_parser.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-11-15 19:17:28 (GMT)
committerGuido van Rossum <guido@python.org>2007-11-15 19:17:28 (GMT)
commitfc158e25d6e5a50fdb4ca0cc3be059d92e6714cf (patch)
tree0ee8760b58aa4740394c5b5ca4d24e99a88d84a3 /Lib/test/test_parser.py
parenta1e9ec4e5515ef60cd1468832e98ba77c9ce29cb (diff)
downloadcpython-fc158e25d6e5a50fdb4ca0cc3be059d92e6714cf.zip
cpython-fc158e25d6e5a50fdb4ca0cc3be059d92e6714cf.tar.gz
cpython-fc158e25d6e5a50fdb4ca0cc3be059d92e6714cf.tar.bz2
Patch 1144 by David Binger, fix for parser module. With unittest.
(I also cleared out all trailing whitespace in the C file.)
Diffstat (limited to 'Lib/test/test_parser.py')
-rw-r--r--Lib/test/test_parser.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_parser.py b/Lib/test/test_parser.py
index 14ebac9..3bebe7e 100644
--- a/Lib/test/test_parser.py
+++ b/Lib/test/test_parser.py
@@ -136,6 +136,7 @@ class RoundtripLegalSyntaxTestCase(unittest.TestCase):
def test_class_defs(self):
self.check_suite("class foo():pass")
+ self.check_suite("class foo(object):pass")
def test_import_from_statement(self):
self.check_suite("from sys.path import *")