diff options
author | David Beazley <dave@dabeaz.com> | 2013-05-29 15:54:21 -0500 |
---|---|---|
committer | David Beazley <dave@dabeaz.com> | 2013-05-29 15:54:21 -0500 |
commit | 7aa4bdce869c166ac6f1cff6430c3eeb14b7ec49 (patch) | |
tree | 4252500d6b8d5d10f1b74a0927b7bb4276840708 | |
parent | a868c076376eeb7a2e7ede16feffeb0fa35d8acd (diff) | |
download | ply-7aa4bdce869c166ac6f1cff6430c3eeb14b7ec49.tar.gz |
Fixed issue #23. Filter out deprecation warnings in unit tests.
-rw-r--r-- | CHANGES | 4 | ||||
-rw-r--r-- | test/testyacc.py | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -1,6 +1,10 @@ Version 3.5 --------------------- 05/29/13: beazley + Added filter to make unit tests pass under 'python -3'. + Reported by Neil Muller. + +05/29/13: beazley Fixed CPP_INTEGER regex in ply/cpp.py (Issue 21). Reported by @vbraun. diff --git a/test/testyacc.py b/test/testyacc.py index aa87779..27d0f92 100644 --- a/test/testyacc.py +++ b/test/testyacc.py @@ -94,7 +94,8 @@ class YaccErrorWarningTests(unittest.TestCase): pass if sys.hexversion >= 0x3020000: - warnings.filterwarnings('ignore',category=ResourceWarning) + warnings.filterwarnings('ignore', category=ResourceWarning) + warnings.filterwarnings('ignore', category=DeprecationWarning) def tearDown(self): sys.stderr = sys.__stderr__ |