[py-svn] r37641 - in py/trunk/py: . doc misc/testing path path/extpy path/testing

hpk at codespeak.net hpk at codespeak.net
Tue Jan 30 23:22:17 CET 2007


Author: hpk
Date: Tue Jan 30 23:22:15 2007
New Revision: 37641

Removed:
   py/trunk/py/path/extpy/
Modified:
   py/trunk/py/__init__.py
   py/trunk/py/doc/TODO.txt
   py/trunk/py/doc/path.txt
   py/trunk/py/misc/testing/test_api.py
   py/trunk/py/path/common.py
   py/trunk/py/path/testing/common.py
   py/trunk/py/path/testing/test_api.py
Log:
removing py.path.extpy after all


Modified: py/trunk/py/__init__.py
==============================================================================
--- py/trunk/py/__init__.py	(original)
+++ py/trunk/py/__init__.py	Tue Jan 30 23:22:15 2007
@@ -61,7 +61,6 @@
     'path.svnwc'             : ('./path/svn/wccommand.py', 'SvnWCCommandPath'),
     'path.svnurl'            : ('./path/svn/urlcommand.py', 'SvnCommandPath'),
     'path.local'             : ('./path/local/local.py', 'LocalPath'),
-    'path.extpy'             : ('./path/extpy/extpy.py', 'Extpy'),
 
     # some nice slightly magic APIs
     'magic.greenlet'         : ('./magic/greenlet.py', 'greenlet'),

Modified: py/trunk/py/doc/TODO.txt
==============================================================================
--- py/trunk/py/doc/TODO.txt	(original)
+++ py/trunk/py/doc/TODO.txt	Tue Jan 30 23:22:15 2007
@@ -32,9 +32,9 @@
  
 * remove from public namespace: 
   XXX consider py.magic. invoke/revoke/patch/revert 
+  (DONE) remove py.path.extpy 
  
 * make "_" namespace:  
-  py.path.extpy -> py.path._extpy
   py.log -> py._log (pypy!) 
 
 * review py.io and write py.io.dupfile docstring
@@ -97,7 +97,7 @@
   (guido tested all on win32, everything works except --dist (requires
   os.fork to work))
 
-* see why startcapture() does not use FD-based 
+* see why startcapture() used to not use FD-based 
   "py.io.OutErrCapture" to isolate standard output. 
   use that check if all py and PyPy tests pass
   as good as they do without. 
@@ -118,7 +118,6 @@
 ------------------------------------
 
 * (DONE, except apigen) cleanup initialisation of config / get rid of pkgdir
-* unify option names (dist_*) 
 * (optional) see if more of py/test/session.py's Session can be reused 
 * (DONE, but slightly different way)
   have dist_rsyncroots be relative to the conftest.py file
@@ -291,25 +290,6 @@
     path.local.__cmp__ misses a docstring
     path.local.__add__ misses a docstring
     path.local.Checkers misses a docstring
-    path.extpy.visit misses a docstring
-    path.extpy.samefile misses a docstring
-    path.extpy.relto misses a docstring
-    path.extpy.listobj misses a docstring
-    path.extpy.listdir misses a docstring
-    path.extpy.join misses a docstring
-    path.extpy.getpymodule misses a docstring
-    path.extpy.getfilelineno misses a docstring
-    path.extpy.dirpath misses a docstring
-    path.extpy.check misses a docstring
-    path.extpy.__str__ misses a docstring
-    path.extpy.__repr__ misses a docstring
-    path.extpy.__new__ misses a docstring
-    path.extpy.__iter__ misses a docstring
-    path.extpy.__hash__ misses a docstring
-    path.extpy.__contains__ misses a docstring
-    path.extpy.__cmp__ misses a docstring
-    path.extpy.__add__ misses a docstring
-    path.extpy.Checkers misses a docstring
     test.rest.RestReporter misses a docstring
     test.rest.RestReporter.summary misses a docstring
     test.rest.RestReporter.skips misses a docstring

Modified: py/trunk/py/doc/path.txt
==============================================================================
--- py/trunk/py/doc/path.txt	(original)
+++ py/trunk/py/doc/path.txt	Tue Jan 30 23:22:15 2007
@@ -69,10 +69,6 @@
 
 .. _`Subversion`: http://subversion.tigris.org/
 
-:api:`py.path.extpy`/gateway?
------------------------------
-
-XXX do we want any of this?
 
 Common vs. specific API
 =======================

Modified: py/trunk/py/misc/testing/test_api.py
==============================================================================
--- py/trunk/py/misc/testing/test_api.py	(original)
+++ py/trunk/py/misc/testing/test_api.py	Tue Jan 30 23:22:15 2007
@@ -10,7 +10,6 @@
         assert_class('py.path', 'local')
         assert_class('py.path', 'svnwc')
         assert_class('py.path', 'svnurl')
-        assert_class('py.path', 'extpy')
 
     def test_magic_entrypoints(self):
         assert_function('py.magic', 'invoke')

Modified: py/trunk/py/path/common.py
==============================================================================
--- py/trunk/py/path/common.py	(original)
+++ py/trunk/py/path/common.py	Tue Jan 30 23:22:15 2007
@@ -7,7 +7,7 @@
 import py
 
 def checktype(pathinstance, kw):
-    names = ('local', 'svnwc', 'svnurl', 'py', 'extpy')
+    names = ('local', 'svnwc', 'svnurl', 'py', )
     for name,value in kw.items():
         if name in names:
             cls = getattr(py.path, name)

Modified: py/trunk/py/path/testing/common.py
==============================================================================
--- py/trunk/py/path/testing/common.py	(original)
+++ py/trunk/py/path/testing/common.py	Tue Jan 30 23:22:15 2007
@@ -54,10 +54,6 @@
         x = other.common(self.root)
         assert x == self.root
 
-        third = py.path.extpy('x', 'whatever')
-        x = other.common(third)
-        assert x is None
-
 
     #def test_parents_nonexisting_file(self):
     #    newpath = self.root / 'dirnoexist' / 'nonexisting file'

Modified: py/trunk/py/path/testing/test_api.py
==============================================================================
--- py/trunk/py/path/testing/test_api.py	(original)
+++ py/trunk/py/path/testing/test_api.py	Tue Jan 30 23:22:15 2007
@@ -9,7 +9,7 @@
 
     def repr_eval_test(self, p):
         r = repr(p)
-        from py.path import local,svnurl, svnwc, extpy
+        from py.path import local,svnurl, svnwc
         y = eval(r)
         assert y == p
 
@@ -21,7 +21,6 @@
         assert p.check()
         assert p.check(local=1)
         assert p.check(svnwc=0)
-        assert p.check(extpy=0)
         assert not p.check(svnwc=1)
         self.repr_eval_test(p)
 



More information about the pytest-commit mailing list