aboutsummaryrefslogtreecommitdiff
path: root/pypy
diff options
context:
space:
mode:
authorAlexander Hesse <webmaster@aquanasoft.de>2013-01-08 23:43:02 +0100
committerAlexander Hesse <webmaster@aquanasoft.de>2013-01-08 23:43:02 +0100
commit0e44d982d3ebe01a4b69888467a1deaa147b34f6 (patch)
tree8e0e859250a8aa2dc1fc70cf767684c74fccef5b /pypy
parentFixed missing import of math in test_ll_math (diff)
downloadpypy-0e44d982d3ebe01a4b69888467a1deaa147b34f6.tar.gz
pypy-0e44d982d3ebe01a4b69888467a1deaa147b34f6.tar.bz2
pypy-0e44d982d3ebe01a4b69888467a1deaa147b34f6.zip
Removed unneeded ctype existence check. Removed resulting dead code.
Diffstat (limited to 'pypy')
-rw-r--r--pypy/tool/pytest/modcheck.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/pypy/tool/pytest/modcheck.py b/pypy/tool/pytest/modcheck.py
deleted file mode 100644
index 6943a9d1bd..0000000000
--- a/pypy/tool/pytest/modcheck.py
+++ /dev/null
@@ -1,14 +0,0 @@
-import py
-
-def skipimporterror(name):
- if not hasimport(name):
- __tracebackhide__ = True
- py.test.skip("cannot import %r module" % (name,))
-
-def hasimport(name):
- try:
- __import__(name)
- except ImportError:
- return False
- else:
- return True