-
Notifications
You must be signed in to change notification settings - Fork 294
Store expected failures and move to py.test #198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Store expected failures and move to py.test #198
Conversation
1db202f
to
9c46c98
Compare
Bah. The breakage is gsnedders/pytest-expect#2. |
And having thought I'd fixed that, I've now run into a bug in pickle on Py3.2/3.3… <_< |
353bcf3
to
ed67ab9
Compare
77c8a22
to
63ecefa
Compare
|
63ecefa
to
31767f4
Compare
|
31767f4
to
82d1796
Compare
|
82d1796
to
dac1e0c
Compare
|
This also adds the mock package as a dependency for the testsuite, as we need it to test our test code.
This was causing one of the tokenizer test failures.
Oh, and this adds PyPy3, while we're at it. In short: we now test both with and without optional packages in tox and fix Travis CI to test with optional packages under PyPy.
The test harness hasn't ever properly had an adapter that matches the behaviour of PullDOM, and I have no interest in fixing this, so let's simply drop support. AFAICT, nobody uses this.
Also enforce ordering of tests and test files, given nodeids for generators depend upon iteration number, and pytest-expect relies on them.
Also add an assertion for symptom of html5lib#217 (without this the testsuite goes into an infinite loop; this doesn't fix the cause but it avoids the infinite loop happening!).
dac1e0c
to
082c042
Compare
|
@jgraham I believe this is now in a position where it can land, with the history rewritten nicely. (Note GitHub's view appears to be sorted by author date, not by the actual parentage order…) So, uh, speak now or forever hold your peace, etc. |
c9ae3ea
to
082c042
Compare
This is #182. Also includes a fair bit of clean-up. Nevertheless, this is enough to get all tests passed/xfailing.