Skip to content

Clean up some of the agg tests#573

Merged
jwiggins merged 1 commit into
masterfrom
cleanup/test-droppings
Feb 8, 2021
Merged

Clean up some of the agg tests#573
jwiggins merged 1 commit into
masterfrom
cleanup/test-droppings

Conversation

@jwiggins

@jwiggins jwiggins commented Feb 5, 2021

Copy link
Copy Markdown
Member

I was getting a bit sick of images getting dumped into the current directory after each kiva test run, so this PR does away with that. These old tests are of dubious use, but I'm leaving them in because they at least exercise some code paths.

number = 10 ** i
time = timer.timeit(number)
if time > 0.2:
if time > 0.02:

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Also these tests are now 10x faster

@rahulporuri rahulporuri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. I'm not sure why test_image3 existed in the first place but it does look like there is no useful information that can be extracted from there.

@jwiggins

jwiggins commented Feb 8, 2021

Copy link
Copy Markdown
Member Author

test_image3 is part of the old integration tests collection that was moved into kiva several years ago.

@jwiggins jwiggins merged commit eaaf1b3 into master Feb 8, 2021
@jwiggins jwiggins deleted the cleanup/test-droppings branch February 8, 2021 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants