[pypy-svn] r31869 - pypy/dist/pypy/module/_random/test
arigo at codespeak.net
arigo at codespeak.net
Thu Aug 31 12:03:00 CEST 2006
Author: arigo
Date: Thu Aug 31 12:02:59 2006
New Revision: 31869
Added:
pypy/dist/pypy/module/_random/test/ (props changed)
pypy/dist/pypy/module/_random/test/__init__.py (contents, props changed)
pypy/dist/pypy/module/_random/test/test_random.py (contents, props changed)
Log:
Started a test file for _random. Naive test is failing...
Added: pypy/dist/pypy/module/_random/test/__init__.py
==============================================================================
Added: pypy/dist/pypy/module/_random/test/test_random.py
==============================================================================
--- (empty file)
+++ pypy/dist/pypy/module/_random/test/test_random.py Thu Aug 31 12:02:59 2006
@@ -0,0 +1,16 @@
+import py
+from pypy.conftest import gettestobjspace
+
+py.test.skip("XXX missing _random.sample()")
+
+class AppTestRandom:
+ def setup_class(cls):
+ cls.space = gettestobjspace(usemodules=['_random'])
+
+ def test_dict(self):
+ import _random
+ _random.__dict__ # crashes if entries in __init__.py can't be resolved
+
+ # XXX MISSING TESTS XXX
+ # XXX MISSING TESTs XXX
+ # XXX MISSING TESTS XXX
More information about the Pypy-commit
mailing list