Skip to content
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

TST: Remove tm.rands/rands_array #54368

Merged
merged 6 commits into from
Aug 3, 2023
Merged

Conversation

mroeschke
Copy link
Member

No description provided.

@mroeschke mroeschke added Testing pandas testing functions or related to the test suite Clean labels Aug 2, 2023
@mroeschke mroeschke added this to the 2.1 milestone Aug 2, 2023
@@ -80,7 +78,7 @@ def setup(self, multiple_chunks):
import pyarrow as pa
except ImportError:
raise NotImplementedError
strings = tm.rands_array(3, 10_000)
strings = np.array(["a"] * 10_000, dtype=object)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's no scenario where having random data could make a difference? i could imagine pyarrow having some optimization for constant data

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if they hash values or anything but that's a good point. I'll make sure the benchmark use unique values

@mroeschke
Copy link
Member Author

Looks like the failures here we unrelated so merging. Happy to follow up

@mroeschke mroeschke merged commit 818618e into pandas-dev:main Aug 3, 2023
30 of 32 checks passed
@mroeschke mroeschke deleted the tst/cln/random branch August 3, 2023 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants