summaryrefslogtreecommitdiff
path: root/dev-python/pypeg2/files/pypeg2-2.15.1-test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pypeg2/files/pypeg2-2.15.1-test.patch')
-rw-r--r--dev-python/pypeg2/files/pypeg2-2.15.1-test.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-python/pypeg2/files/pypeg2-2.15.1-test.patch b/dev-python/pypeg2/files/pypeg2-2.15.1-test.patch
new file mode 100644
index 00000000000..6ca8839d777
--- /dev/null
+++ b/dev-python/pypeg2/files/pypeg2-2.15.1-test.patch
@@ -0,0 +1,12 @@
+Drop seemingly wrong test line that throws an AttributeError.
+
+--- pyPEG2-2.15.1/pypeg2/test/test_pyPEG2.py
++++ pyPEG2-2.15.1/pypeg2/test/test_pyPEG2.py
+@@ -255,7 +255,6 @@
+ def runTest(self):
+ r = pypeg2.parse("!all", type(self).C1)
+ self.assertEqual(str(r), "all")
+- self.assertEqual(r._ignore1, None)
+
+ class ParseOmitTestCase(ParserTestCase):
+ def runTest(self):