diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2012-03-18 11:07:03 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-03-18 11:07:03 -0400 |
commit | 08d07fab655f6069668d3da6679e690a4af608c8 (patch) | |
tree | fe786a82ba32ad147d05461cf430236093abaeae /pybanner.py | |
parent | fbc6a789ed025ac114c36c414b418ca6dd3c5a38 (diff) | |
parent | 55e472f7b0f8dcfd8d45d5519f96e353893c5d62 (diff) | |
download | python-coveragepy-08d07fab655f6069668d3da6679e690a4af608c8.tar.gz |
Automated merge with ssh://bitbucket.org/ned/coveragepy
Diffstat (limited to 'pybanner.py')
-rw-r--r-- | pybanner.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pybanner.py b/pybanner.py new file mode 100644 index 0000000..b3a3c85 --- /dev/null +++ b/pybanner.py @@ -0,0 +1,11 @@ +# For printing the python version during tests. + +import platform +import sys + +try: + impl = platform.python_implementation() +except AttributeError: + impl = "Python" + +print('=== %s %s %s (%s) ===' % (impl, platform.python_version(), sys.argv[1], sys.executable)) |