[pypy-commit] pyrepl py3ksupport: fix rest of tests
RonnyPfannschmidt
noreply at buildbot.pypy.org
Wed Oct 19 10:44:53 CEST 2011
Author: Ronny Pfannschmidt <Ronny.Pfannschmidt at gmx.de>
Branch: py3ksupport
Changeset: r140:720b6383d757
Date: 2011-10-19 09:27 +0200
http://bitbucket.org/pypy/pyrepl/changeset/720b6383d757/
Log: fix rest of tests
diff --git a/testing/test_basic.py b/testing/test_basic.py
--- a/testing/test_basic.py
+++ b/testing/test_basic.py
@@ -16,8 +16,7 @@
# RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
# CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-from pyrepl.console import Event
+import pytest
from .infrastructure import read_spec, EA
diff --git a/testing/test_bugs.py b/testing/test_bugs.py
--- a/testing/test_bugs.py
+++ b/testing/test_bugs.py
@@ -22,7 +22,9 @@
# this test case should contain as-verbatim-as-possible versions of
# (applicable) bug reports
+import pytest
+ at pytest.mark.xfail(reason='event missing', run=False)
def test_transpose_at_start():
read_spec([( 'transpose', [EA, '']),
( 'accept', [''])])
More information about the pypy-commit
mailing list