summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests/util.py
diff options
context:
space:
mode:
authorDWesl <22566757+DWesl@users.noreply.github.com>2023-01-27 21:26:16 -0500
committerDWesl <22566757+DWesl@users.noreply.github.com>2023-01-27 21:26:16 -0500
commit015ecf60a0402074c37821f8019f10fce78143ba (patch)
tree1db4c8be97627ef6b296b3d9dc5f4b5a6e97d56f /numpy/f2py/tests/util.py
parent3437ec455ee6aa991e40044381b52d94e37a10e5 (diff)
downloadnumpy-015ecf60a0402074c37821f8019f10fce78143ba.tar.gz
Revert "TST: Rebase F2Py test modules on Cygwin."
This reverts commit 608864613b801b9c85573186a9d07eeac5e7e465.
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)