[py-svn] r45668 - py/branch/session-cleanups/py/test/rsession/testing

fijal at codespeak.net fijal at codespeak.net
Wed Aug 15 12:38:04 CEST 2007


Author: fijal
Date: Wed Aug 15 12:38:03 2007
New Revision: 45668

Modified:
   py/branch/session-cleanups/py/test/rsession/testing/test_rsession.py
Log:
This test makes no sense any more (although some itemgen test might
fit here)


Modified: py/branch/session-cleanups/py/test/rsession/testing/test_rsession.py
==============================================================================
--- py/branch/session-cleanups/py/test/rsession/testing/test_rsession.py	(original)
+++ py/branch/session-cleanups/py/test/rsession/testing/test_rsession.py	Wed Aug 15 12:38:03 2007
@@ -14,23 +14,6 @@
     if py.std.sys.platform == "win32":
         py.test.skip("rsession tests disabled for win32")
 
-def test_example_tryiter():
-    events = []
-    tmpdir = py.test.ensuretemp("tryitertest")
-    tmpdir.ensure("a", "__init__.py")
-    tmpdir.ensure("conftest.py").write(py.code.Source("""
-        import py
-        py.test.skip("Reason")
-    """))
-    tmpdir.ensure("a", "test_empty.py").write(py.code.Source("""
-        def test_empty():
-            pass
-    """))
-    rootcol = py.test.collect.Directory(tmpdir)
-    data = list(rootcol._tryiter(reporterror=events.append))
-    assert len(events) == 2
-    assert str(events[1][0].value).find("Reason") != -1
-
 class TestRSessionRemote(DirSetup, BasicRsessionTest): 
     def test_example_distribution_minus_x(self):
         self.source.ensure("sub", "conftest.py").write(py.code.Source("""



More information about the pytest-commit mailing list