diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-06-30 11:14:30 +0000 |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-06-30 11:14:30 +0000 |
commit | abe52d749c89a7c8860cdc191a940b8b6b314dab (patch) | |
tree | 0f1d1de8482f47f7c91219295770f3dd6d416c81 /Demo/parser/test_unparse.py | |
parent | 50b79a80bd3fe400fe60ead0ed563080fe0cac88 (diff) | |
download | cpython-git-abe52d749c89a7c8860cdc191a940b8b6b314dab.tar.gz |
Revert accidental extra changes included in r82391.
Diffstat (limited to 'Demo/parser/test_unparse.py')
-rw-r--r-- | Demo/parser/test_unparse.py | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/Demo/parser/test_unparse.py b/Demo/parser/test_unparse.py index 170dffa51b..3a795e9974 100644 --- a/Demo/parser/test_unparse.py +++ b/Demo/parser/test_unparse.py @@ -123,8 +123,6 @@ class UnparseTestCase(ASTTestCase): def test_unary_parens(self): self.check_roundtrip("(-1)**7") - self.check_roundtrip("(-1.)**8") - self.check_roundtrip("(-1j)**6") self.check_roundtrip("not True or False") self.check_roundtrip("True or not False") @@ -134,16 +132,6 @@ class UnparseTestCase(ASTTestCase): def test_huge_float(self): self.check_roundtrip("1e1000") self.check_roundtrip("-1e1000") - self.check_roundtrip("1e1000j") - self.check_roundtrip("-1e1000j") - - def test_min_int(self): - self.check_roundtrip(str(-2**31)) - self.check_roundtrip(str(-2**63)) - - def test_imag_literals(self): - self.check_roundtrip("7j") - self.check_roundtrip("-7j") def test_lambda_parentheses(self): self.check_roundtrip("(lambda: int)()") @@ -213,7 +201,7 @@ class DirectoryTestCase(ASTTestCase): # test directories, relative to the root of the distribution test_directories = 'Lib', os.path.join('Lib', 'test') - def Xtest_files(self): + def test_files(self): # get names of files to test dist_dir = os.path.join(os.path.dirname(__file__), os.pardir, os.pardir) |