Exemplo n.º 1
0
 def test_import(self):
     import extmod
     assert not hasattr(extmod, '__file__')
     assert type(extmod.time()) is float
Exemplo n.º 2
0
 def test_import(self):
     import extmod
     assert extmod.__file__.endswith('extmod')
     assert type(extmod.time()) is float
Exemplo n.º 3
0
 def test_import(self):
     import extmod
     assert extmod.__file__.endswith('extmod')
     assert type(extmod.time()) is float
Exemplo n.º 4
0
 def test_import(self):
     import extmod
     assert not hasattr(extmod, '__file__')
     assert type(extmod.time()) is float