[pypy-commit] pyrepl py3ksupport: move rest of the tests to testing

RonnyPfannschmidt noreply at buildbot.pypy.org
Wed Oct 19 10:44:45 CEST 2011


Author: Ronny Pfannschmidt <Ronny.Pfannschmidt at gmx.de>
Branch: py3ksupport
Changeset: r132:deb881a5a096
Date: 2011-10-18 11:21 +0200
http://bitbucket.org/pypy/pyrepl/changeset/deb881a5a096/

Log:	move rest of the tests to testing

diff --git a/pyrepl/tests/__init__.py b/pyrepl/tests/__init__.py
deleted file mode 100644
--- a/pyrepl/tests/__init__.py
+++ /dev/null
@@ -1,20 +0,0 @@
-#   Copyright 2000-2004 Michael Hudson-Doyle <micahel at gmail.com>
-#
-#                        All Rights Reserved
-#
-#
-# Permission to use, copy, modify, and distribute this software and
-# its documentation for any purpose is hereby granted without fee,
-# provided that the above copyright notice appear in all copies and
-# that both that copyright notice and this permission notice appear in
-# supporting documentation.
-#
-# THE AUTHOR MICHAEL HUDSON DISCLAIMS ALL WARRANTIES WITH REGARD TO
-# THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-# AND FITNESS, IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL,
-# INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
-# 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.
-
-# moo
diff --git a/pyrepl/tests/infrastructure.py b/testing/infrastructure.py
rename from pyrepl/tests/infrastructure.py
rename to testing/infrastructure.py
diff --git a/pyrepl/tests/test_basic.py b/testing/test_basic.py
rename from pyrepl/tests/test_basic.py
rename to testing/test_basic.py
--- a/pyrepl/tests/test_basic.py
+++ b/testing/test_basic.py
@@ -18,7 +18,7 @@
 # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 from pyrepl.console import Event
-from pyrepl.tests.infrastructure import ReaderTestCase, EA, run_testcase
+from .infrastructure import ReaderTestCase, EA, run_testcase
 
 class SimpleTestCase(ReaderTestCase):
 
diff --git a/pyrepl/tests/test_bugs.py b/testing/test_bugs.py
rename from pyrepl/tests/test_bugs.py
rename to testing/test_bugs.py
--- a/pyrepl/tests/test_bugs.py
+++ b/testing/test_bugs.py
@@ -18,7 +18,7 @@
 # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 from pyrepl.console import Event
-from pyrepl.tests.infrastructure import ReaderTestCase, EA, run_testcase
+from .infrastructure import ReaderTestCase, EA, run_testcase
 
 # this test case should contain as-verbatim-as-possible versions of
 # (applicable) bug reports
diff --git a/testing/test_functional.py b/testing/test_functional.py
--- a/testing/test_functional.py
+++ b/testing/test_functional.py
@@ -47,4 +47,4 @@
         child.sendline('a = 3')
         child.sendline('a')
         child.expect('3')
-        
+
diff --git a/pyrepl/tests/test_wishes.py b/testing/test_wishes.py
rename from pyrepl/tests/test_wishes.py
rename to testing/test_wishes.py
--- a/pyrepl/tests/test_wishes.py
+++ b/testing/test_wishes.py
@@ -18,7 +18,7 @@
 # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 from pyrepl.console import Event
-from pyrepl.tests.infrastructure import ReaderTestCase, EA, run_testcase
+from .infrastructure import ReaderTestCase, EA, run_testcase
 
 # this test case should contain as-verbatim-as-possible versions of
 # (applicable) feature requests


More information about the pypy-commit mailing list