projects
/
platform
/
upstream
/
python-nose.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 1.1.2
[platform/upstream/python-nose.git]
/
functional_tests
/
doc_tests
/
test_doctest_fixtures
/
doctest_fixtures_fixtures.py
1
called = []
2
3
def globs(globs):
4
globs['something'] = 'Something?'
5
return globs
6
7
def setup_module(module):
8
module.called[:] = []
9
10
def setup_test(test):
11
called.append(test)
12
test.globs['count'] = len(called)
13
setup_test.__test__ = False
14
15
def teardown_test(test):
16
pass
17
teardown_test.__test__ = False