Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed issue #23. Filter out deprecation warnings in unit tests.

  • Loading branch information...
commit 7aa4bdce869c166ac6f1cff6430c3eeb14b7ec49 1 parent a868c07
@dabeaz authored
Showing with 6 additions and 1 deletion.
  1. +4 −0 CHANGES
  2. +2 −1  test/testyacc.py
View
4 CHANGES
@@ -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.
View
3  test/testyacc.py
@@ -94,7 +94,8 @@ def setUp(self):
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__
Please sign in to comment.
Something went wrong with that request. Please try again.