[pypy-commit] pypy default: Distribute test_zmodules's content to the various modules.

arigo noreply at buildbot.pypy.org
Wed Dec 7 20:26:29 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r50283:38243eb2f78b
Date: 2011-12-07 20:25 +0100
http://bitbucket.org/pypy/pypy/changeset/38243eb2f78b/

Log:	Distribute test_zmodules's content to the various modules.

diff --git a/pypy/module/_bisect/test/test_ztranslation.py b/pypy/module/_bisect/test/test_ztranslation.py
new file mode 100644
--- /dev/null
+++ b/pypy/module/_bisect/test/test_ztranslation.py
@@ -0,0 +1,4 @@
+from pypy.objspace.fake.checkmodule import checkmodule
+
+def test_checkmodule():
+    checkmodule('_bisect')
diff --git a/pypy/module/_random/test/test_ztranslation.py b/pypy/module/_random/test/test_ztranslation.py
new file mode 100644
--- /dev/null
+++ b/pypy/module/_random/test/test_ztranslation.py
@@ -0,0 +1,4 @@
+from pypy.objspace.fake.checkmodule import checkmodule
+
+def test_checkmodule():
+    checkmodule('_random')
diff --git a/pypy/module/cStringIO/test/test_ztranslation.py b/pypy/module/cStringIO/test/test_ztranslation.py
new file mode 100644
--- /dev/null
+++ b/pypy/module/cStringIO/test/test_ztranslation.py
@@ -0,0 +1,4 @@
+from pypy.objspace.fake.checkmodule import checkmodule
+
+def test_checkmodule():
+    checkmodule('cStringIO')
diff --git a/pypy/module/itertools/test/test_ztranslation.py b/pypy/module/itertools/test/test_ztranslation.py
new file mode 100644
--- /dev/null
+++ b/pypy/module/itertools/test/test_ztranslation.py
@@ -0,0 +1,4 @@
+from pypy.objspace.fake.checkmodule import checkmodule
+
+def test_checkmodule():
+    checkmodule('itertools')
diff --git a/pypy/objspace/fake/test/test_zmodules.py b/pypy/objspace/fake/test/test_zmodules.py
deleted file mode 100644
--- a/pypy/objspace/fake/test/test_zmodules.py
+++ /dev/null
@@ -1,14 +0,0 @@
-from pypy.objspace.fake.checkmodule import checkmodule
-
-
-def test__bisect():
-    checkmodule('_bisect')
-
-def test__random():
-    checkmodule('_random')
-
-def test_cStringIO():
-    checkmodule('cStringIO')
-
-def test_itertools():
-    checkmodule('itertools')


More information about the pypy-commit mailing list