-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
Make DataFrame.to_html output full content #24841
Changes from 5 commits
5d8890a
bfad29e
eef4490
8ef0c9a
73e808a
49f45d1
2963bfa
9e4459b
ad1e83c
e07775d
1092d55
b12f658
0e581ad
5c2e9c2
cd63aa5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -675,3 +675,20 @@ def tick_classes(request): | |
normalize=st.booleans(), | ||
startingMonth=st.integers(min_value=1, max_value=12) | ||
)) | ||
|
||
lorem_ipsum_text = ( | ||
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod" | ||
" tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim" | ||
" veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex" | ||
" ea commodo consequat. Duis aute irure dolor in reprehenderit in" | ||
" voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur" | ||
" sint occaecat cupidatat non proident, sunt in culpa qui officia" | ||
" deserunt mollit anim id est laborum.") | ||
|
||
|
||
@pytest.fixture(scope='session') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you need to explicitly state scope? Assumed this to be session given location but maybe have that wrong There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the scope parameter of the fixture is the scope for which this fixture is shared. the default is to execute the fixture function and all of the dependent fixtures for each parametrized run of each test. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unless there is a value add I would remove |
||
def lorem_ipsum(): | ||
""" | ||
Fixture for Lorem ipsum placeholder text. | ||
""" | ||
return lorem_ipsum_text |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can just define this in the function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or just declare it in test_to_html. That seems easier to follow.