Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r51761:443723ebd5e0
Date: 2012-01-25 16:45 +0100
http://bitbucket.org/pypy/pypy/changeset/443723ebd5e0/

Log:    fix these tests which were broken by the previous commit (because
        now the docstring tests are unselected)

diff --git a/pypy/tool/pytest/test/test_conftest1.py 
b/pypy/tool/pytest/test/test_conftest1.py
--- a/pypy/tool/pytest/test/test_conftest1.py
+++ b/pypy/tool/pytest/test/test_conftest1.py
@@ -27,7 +27,7 @@
         sorter = testdir.inline_run(innertest, '-k', 'applevel -docstring',
                                     '--runappdirect')
         passed, skipped, failed = sorter.listoutcomes()
-        assert len(passed) == 3
+        assert len(passed) == 2
         print passed
         assert "app_test_something" in passed[0].nodeid
         assert "test_method_app" in passed[1].nodeid
@@ -36,7 +36,7 @@
         sorter = testdir.inline_run(innertest, '-k', 'applevel -docstring',
                                     '--appdirect=%s' % (sys.executable,))
         passed, skipped, failed = sorter.listoutcomes()
-        assert len(passed) == 3
+        assert len(passed) == 2
         print passed
         assert "app_test_something" in passed[0].nodeid
         assert "test_method_app" in passed[1].nodeid
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to