death to "misc" directories. moved most files out of py/misc, either to a

private attic or to other places in the lib.

--HG--
branch : trunk
This commit is contained in:
holger krekel
2009-08-25 16:14:15 +02:00
parent 739edc26b4
commit d43d69e3db
33 changed files with 230 additions and 989 deletions

13
py/_testing/test_std.py Normal file
View File

@@ -0,0 +1,13 @@
import py
def test_os():
import os
assert py.std.os is os
def test_import_error_converts_to_attributeerror():
py.test.raises(AttributeError, "py.std.xyzalskdj")
def test_std_gets_it():
for x in py.std.sys.modules:
assert x in py.std.__dict__