コード例 #1
0
ファイル: test_extmodules.py プロジェクト: Darriall/pypy
 def test_import(self):
     import extmod
     assert not hasattr(extmod, '__file__')
     assert type(extmod.time()) is float
コード例 #2
0
ファイル: test_extmodules.py プロジェクト: charred/pypy
 def test_import(self):
     import extmod
     assert extmod.__file__.endswith('extmod')
     assert type(extmod.time()) is float
コード例 #3
0
 def test_import(self):
     import extmod
     assert extmod.__file__.endswith('extmod')
     assert type(extmod.time()) is float
コード例 #4
0
ファイル: test_extmodules.py プロジェクト: sota/pypy-old
 def test_import(self):
     import extmod
     assert not hasattr(extmod, '__file__')
     assert type(extmod.time()) is float