[pypy-svn] r39659 - pypy/dist/pypy/interpreter/test

hpk at codespeak.net hpk at codespeak.net
Fri Mar 2 12:48:05 CET 2007


Author: hpk
Date: Fri Mar  2 12:48:03 2007
New Revision: 39659

Removed:
   pypy/dist/pypy/interpreter/test/autopath.py
Modified:
   pypy/dist/pypy/interpreter/test/test_compiler.py
   pypy/dist/pypy/interpreter/test/test_eval.py
   pypy/dist/pypy/interpreter/test/test_exceptcomp.py
   pypy/dist/pypy/interpreter/test/test_exec.py
   pypy/dist/pypy/interpreter/test/test_function.py
   pypy/dist/pypy/interpreter/test/test_gateway.py
   pypy/dist/pypy/interpreter/test/test_generator.py
   pypy/dist/pypy/interpreter/test/test_main.py
   pypy/dist/pypy/interpreter/test/test_module.py
   pypy/dist/pypy/interpreter/test/test_nestedscope.py
   pypy/dist/pypy/interpreter/test/test_objspace.py
   pypy/dist/pypy/interpreter/test/test_py.py
   pypy/dist/pypy/interpreter/test/test_pyframe.py
   pypy/dist/pypy/interpreter/test/test_raise.py
   pypy/dist/pypy/interpreter/test/test_special.py
   pypy/dist/pypy/interpreter/test/test_typedef.py
Log:
removing some more obsolete autopath usages on a sidenote


Modified: pypy/dist/pypy/interpreter/test/test_compiler.py
==============================================================================
--- pypy/dist/pypy/interpreter/test/test_compiler.py	(original)
+++ pypy/dist/pypy/interpreter/test/test_compiler.py	Fri Mar  2 12:48:03 2007
@@ -1,5 +1,4 @@
 import __future__
-import autopath
 import py, sys
 from pypy.interpreter.pycompiler import CPythonCompiler, PythonAstCompiler
 from pypy.interpreter.pycode import PyCode

Modified: pypy/dist/pypy/interpreter/test/test_eval.py
==============================================================================
--- pypy/dist/pypy/interpreter/test/test_eval.py	(original)
+++ pypy/dist/pypy/interpreter/test/test_eval.py	Fri Mar  2 12:48:03 2007
@@ -1,5 +1,4 @@
 
-import autopath
 from pypy.interpreter.eval import Frame
 from pypy.interpreter.pycode import PyCode
 

Modified: pypy/dist/pypy/interpreter/test/test_exceptcomp.py
==============================================================================
--- pypy/dist/pypy/interpreter/test/test_exceptcomp.py	(original)
+++ pypy/dist/pypy/interpreter/test/test_exceptcomp.py	Fri Mar  2 12:48:03 2007
@@ -2,7 +2,6 @@
 
 New for PyPy - Could be incorporated into CPython regression tests.
 """
-import autopath
 
 class AppTestExceptionComp: 
 

Modified: pypy/dist/pypy/interpreter/test/test_exec.py
==============================================================================
--- pypy/dist/pypy/interpreter/test/test_exec.py	(original)
+++ pypy/dist/pypy/interpreter/test/test_exec.py	Fri Mar  2 12:48:03 2007
@@ -2,7 +2,6 @@
 
 New for PyPy - Could be incorporated into CPython regression tests.
 """
-import autopath
 from pypy.tool.udir import udir
 
 

Modified: pypy/dist/pypy/interpreter/test/test_function.py
==============================================================================
--- pypy/dist/pypy/interpreter/test/test_function.py	(original)
+++ pypy/dist/pypy/interpreter/test/test_function.py	Fri Mar  2 12:48:03 2007
@@ -1,5 +1,4 @@
 
-import autopath
 import unittest
 from pypy.interpreter.function import Function, Method, descr_function_get
 from pypy.interpreter.pycode import PyCode

Modified: pypy/dist/pypy/interpreter/test/test_gateway.py
==============================================================================
--- pypy/dist/pypy/interpreter/test/test_gateway.py	(original)
+++ pypy/dist/pypy/interpreter/test/test_gateway.py	Fri Mar  2 12:48:03 2007
@@ -1,5 +1,4 @@
 
-import autopath
 from pypy.interpreter import gateway
 from pypy.interpreter import argument
 import py

Modified: pypy/dist/pypy/interpreter/test/test_generator.py
==============================================================================
--- pypy/dist/pypy/interpreter/test/test_generator.py	(original)
+++ pypy/dist/pypy/interpreter/test/test_generator.py	Fri Mar  2 12:48:03 2007
@@ -1,5 +1,4 @@
 from __future__ import generators
-import autopath
 
 class AppTestGenerator:
 

Modified: pypy/dist/pypy/interpreter/test/test_main.py
==============================================================================
--- pypy/dist/pypy/interpreter/test/test_main.py	(original)
+++ pypy/dist/pypy/interpreter/test/test_main.py	Fri Mar  2 12:48:03 2007
@@ -1,4 +1,3 @@
-import autopath
 from cStringIO import StringIO
 
 import py 

Modified: pypy/dist/pypy/interpreter/test/test_module.py
==============================================================================
--- pypy/dist/pypy/interpreter/test/test_module.py	(original)
+++ pypy/dist/pypy/interpreter/test/test_module.py	Fri Mar  2 12:48:03 2007
@@ -1,5 +1,4 @@
 
-import autopath
 from pypy.interpreter.module import Module
 
 class TestModule: 

Modified: pypy/dist/pypy/interpreter/test/test_nestedscope.py
==============================================================================
--- pypy/dist/pypy/interpreter/test/test_nestedscope.py	(original)
+++ pypy/dist/pypy/interpreter/test/test_nestedscope.py	Fri Mar  2 12:48:03 2007
@@ -1,4 +1,3 @@
-import autopath
 
 
 class AppTestNestedScope:

Modified: pypy/dist/pypy/interpreter/test/test_objspace.py
==============================================================================
--- pypy/dist/pypy/interpreter/test/test_objspace.py	(original)
+++ pypy/dist/pypy/interpreter/test/test_objspace.py	Fri Mar  2 12:48:03 2007
@@ -1,4 +1,3 @@
-import autopath
 from py.test import raises
 from pypy.interpreter.function import Function
 from pypy.interpreter.pycode import PyCode

Modified: pypy/dist/pypy/interpreter/test/test_py.py
==============================================================================
--- pypy/dist/pypy/interpreter/test/test_py.py	(original)
+++ pypy/dist/pypy/interpreter/test/test_py.py	Fri Mar  2 12:48:03 2007
@@ -1,10 +1,10 @@
 
-import autopath
 from pypy.tool.udir import udir
 import py
 import sys
+import pypy
 
-pypypath = str(py.path.local(autopath.pypydir).join('bin', 'py.py'))
+pypypath = py.path.local(pypy.__file__).dirpath("bin", "py.py")
 
 def test_executable():
     """Ensures sys.executable points to the py.py script"""

Modified: pypy/dist/pypy/interpreter/test/test_pyframe.py
==============================================================================
--- pypy/dist/pypy/interpreter/test/test_pyframe.py	(original)
+++ pypy/dist/pypy/interpreter/test/test_pyframe.py	Fri Mar  2 12:48:03 2007
@@ -1,4 +1,3 @@
-import autopath
 
 class AppTestPyFrame:
 

Modified: pypy/dist/pypy/interpreter/test/test_raise.py
==============================================================================
--- pypy/dist/pypy/interpreter/test/test_raise.py	(original)
+++ pypy/dist/pypy/interpreter/test/test_raise.py	Fri Mar  2 12:48:03 2007
@@ -1,4 +1,3 @@
-import autopath
 
 
 class AppTestRaise:

Modified: pypy/dist/pypy/interpreter/test/test_special.py
==============================================================================
--- pypy/dist/pypy/interpreter/test/test_special.py	(original)
+++ pypy/dist/pypy/interpreter/test/test_special.py	Fri Mar  2 12:48:03 2007
@@ -1,5 +1,4 @@
 
-import autopath 
 
 class AppTestSpecialTestCase:
     def test_Ellipsis(self):

Modified: pypy/dist/pypy/interpreter/test/test_typedef.py
==============================================================================
--- pypy/dist/pypy/interpreter/test/test_typedef.py	(original)
+++ pypy/dist/pypy/interpreter/test/test_typedef.py	Fri Mar  2 12:48:03 2007
@@ -1,4 +1,3 @@
-import autopath
 
 # this test isn't so much to test that the objspace interface *works*
 # -- it's more to test that it's *there*


More information about the pypy-svn mailing list