Skip to content

BUG: Fix assumed length f2py regression #24542

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 25, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
TST: Stop marking small f2py tests as slow
  • Loading branch information
HaoZeke authored and charris committed Aug 25, 2023
commit 5b63b895b901b0f3e4a031376fee4df7dbda1500
3 changes: 0 additions & 3 deletions numpy/f2py/tests/test_character.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,6 @@ def test_character_bc(self, state):
class TestStringScalarArr(util.F2PyTest):
sources = [util.getpath("tests", "src", "string", "scalar_string.f90")]

@pytest.mark.slow
def test_char(self):
for out in (self.module.string_test.string,
self.module.string_test.string77):
Expand All @@ -583,7 +582,6 @@ def test_char(self):
expected = '|S8'
assert out.dtype == expected

@pytest.mark.slow
def test_char_arr(self):
for out in (self.module.string_test.strarr,
self.module.string_test.strarr77):
Expand All @@ -595,6 +593,5 @@ def test_char_arr(self):
class TestStringAssumedLength(util.F2PyTest):
sources = [util.getpath("tests", "src", "string", "gh24008.f")]

@pytest.mark.slow
def test_gh24008(self):
self.module.greet("joe", "bob")