-
Notifications
You must be signed in to change notification settings - Fork 6
/
test_Goulib_decorators.py
40 lines (32 loc) · 1014 Bytes
/
test_Goulib_decorators.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/env python
# coding: utf8
from nose.tools import assert_equal
from nose import SkipTest
#lines above are inserted automatically by pythoscope. Line below overrides them
from Goulib.tests import *
from Goulib.decorators import *
class TestMemoize:
def test_memoize(self):
pass
class TestDebug:
def test_debug(self):
# assert_equal(expected, debug(func))
raise SkipTest
class TestNodebug:
def test_nodebug(self):
# assert_equal(expected, nodebug(func))
raise SkipTest
class TestGetThreadPool:
def test_get_thread_pool(self):
# assert_equal(expected, get_thread_pool())
raise SkipTest
class TestTimeout:
def test_timeout(self):
# assert_equal(expected, timeout(timeout))
raise SkipTest
class TestItimeout:
def test_itimeout(self):
# assert_equal(expected, itimeout(iterable, timeout))
raise SkipTest
if __name__ == "__main__":
runmodule()