summaryrefslogtreecommitdiff
path: root/igor.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-09-10 05:26:23 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-09-10 05:26:23 -0400
commit0f3abb10625f3a1250991d06e3f26cfa324d4dcf (patch)
tree166ee93707f8186bcab927414a7114e95a16a6a9 /igor.py
parentcf80ecbb8f7756503431d5a3e08185a34a48df3e (diff)
downloadpython-coveragepy-git-0f3abb10625f3a1250991d06e3f26cfa324d4dcf.tar.gz
Some diagnostics to figure out what's up with Appveyor 64-bit builds.
Diffstat (limited to 'igor.py')
-rw-r--r--igor.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/igor.py b/igor.py
index f9c7ad92..5989c11b 100644
--- a/igor.py
+++ b/igor.py
@@ -38,6 +38,13 @@ def ignore_warnings():
# by "python igor.py blah".
+def do_show_env():
+ """Show the environment variables."""
+ print("Environment:")
+ for env in sorted(os.environ):
+ print(" %s = %r" % (env, os.environ[env]))
+
+
def do_remove_extension():
"""Remove the compiled C extension, no matter what its name."""