Comments (6)
Thanks for the report. Yes, it seems that with pytest.raises
now returns a wrapper and not the original exception.
from arpeggio.
You can use the new syntax on the raises and it will work with older pytest, for us we use pytest4 on python2 and pytest-latest when python3 and it works on the whole distro.
Even in travis it will work out of the box using the pytest without restriction will use pytest 4.6.x on python2 and pytest-latest on python3.
from arpeggio.
@scarabeusiv You are right. I've just tested and it works fine with explicit checking of exception value even in older versions. Travis works fine. Updated and removed version constraint on pytest. It is on master branch. If you need a new release just let me know.
from arpeggio.
@igordejanovic if you would not mind doing another release so close to this one it would make the distro packaging easier (as we would not have to carry the patches for it).
from arpeggio.
@scarabeusiv I don't mind to make a bugfix release if what is on the master branch is ok and would make your job easier?
from arpeggio.
Git clone works for my purposes, so I suppose tagged release will work the same.
from arpeggio.
Related Issues (20)
- Detect and report invalid grammars
- Question to the possible design of the reporting functionality
- 2.0.1: started require deprecated `pytest-runner` HOT 2
- Create .peg/.cleanpeg files from parsers written in python. HOT 1
- Create .peg/clean.peg files from parsers written in python. HOT 1
- Question: Is there a way to convert the graph of Arpeggio nodes into a state machine? HOT 1
- Please read this before asking questions
- Comments in strings / regexps
- Suppressing rules doesn't seem to work
- setup.py fails with UnicodeDecodeError
- ParserPEG with multiple root rules HOT 1
- How to define a recursive rule with Python style? HOT 2
- performance issue when parsing => grammar not good? HOT 7
- Repetitions with separators terminate on empty separator match
- 1.10.2: pytest warnings
- pytest-runner is not required
- Lookahead rules always showed as not matched in debug mode HOT 1
- Lookahead not working in OrderedChoice HOT 5
- Can PEG syntax (cleanpeg) use reduce_tree and memoization? HOT 6
- Unexpected NoMatch when suppressing a StrMatch from the parse tree HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arpeggio.