Skip to content

Commit 1486b78

Browse files
author
Ram Rachum
committed
-
1 parent 8602073 commit 1486b78

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

garlicsim/test_garlicsim/test_general_misc/test_caching/test_cached_type.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,6 @@
77

88
from garlicsim.general_misc.caching import CachedType
99

10-
11-
def counting_func(a=1, b=2, *args, **kwargs):
12-
'''Function that returns a bigger number every time.'''
13-
if not hasattr(counting_func, 'i'):
14-
counting_func.i = 0
15-
try:
16-
return counting_func.i
17-
finally:
18-
counting_func.i = (counting_func.i + 1)
19-
2010

2111
def test():
2212
'''Test basic workings of `CachedType`.'''
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import state as _

garlicsim/test_garlicsim/test_misc/test_step_profile/test_build_parser.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@
44
import nose.tools
55

66
import garlicsim
7+
from test_garlicsim.shared import verify_sample_simpack_settings
78

89
from garlicsim.misc import StepProfile
910

1011
from . import sample_simpack
1112

1213

1314
def test():
15+
verify_sample_simpack_settings(sample_simpack)
1416
simpack_grokker = garlicsim.misc.SimpackGrokker(sample_simpack)
1517

1618
parse = \

0 commit comments

Comments
 (0)