summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/f2py/tests/util.py')
-rw-r--r--numpy/f2py/tests/util.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/numpy/f2py/tests/util.py b/numpy/f2py/tests/util.py
index 032c50bfd..94029d51d 100644
--- a/numpy/f2py/tests/util.py
+++ b/numpy/f2py/tests/util.py
@@ -31,9 +31,6 @@ from importlib import import_module
_module_dir = None
_module_num = 5403
-if sys.platform == "cygwin":
- _module_list = []
-
def _cleanup():
global _module_dir
@@ -151,19 +148,6 @@ def build_module(source_files, options=[], skip=[], only=[], module_name=None):
for fn in dst_sources:
os.unlink(fn)
- # Rebase
- if sys.platform == "cygwin":
- # If someone starts deleting modules after import, this will
- # need to change to record how big each module is, rather than
- # relying on rebase being able to find that from the files.
- _module_list.extend(
- glob.glob(os.path.join(d, "{:s}*".format(module_name)))
- )
- subprocess.check_call(
- ["/usr/bin/rebase", "--database", "--oblivious", "--verbose"]
- + _module_list
- )
-
# Import
return import_module(module_name)