summaryrefslogtreecommitdiff
path: root/igor.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-05-17 18:36:30 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-05-17 18:36:30 -0400
commit9520d008fb6a006aa70ae341906b0be18f40cd41 (patch)
tree7e07d938149129b71b334e76aa572af9cd27c6ab /igor.py
parent79a287fae7392ffda5d42593189243844027ffe9 (diff)
downloadpython-coveragepy-9520d008fb6a006aa70ae341906b0be18f40cd41.tar.gz
Use PyContracts so we can declare/enforce parameter and return types.
This commit doesn't add any uses of PyContracts, but gets the machinery in place.
Diffstat (limited to 'igor.py')
-rw-r--r--igor.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/igor.py b/igor.py
index 17f4114..dced3d2 100644
--- a/igor.py
+++ b/igor.py
@@ -60,6 +60,7 @@ def run_tests(tracer, *nose_args):
print(msg)
return
+ os.environ['COVERAGE_TESTING'] = "True"
print_banner(label)
nose_args = ["nosetests"] + list(nose_args)
nose.core.main(argv=nose_args)