-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test_speedscope_output: remove err msgs, some vars
This commit aims to make the `test_speedscope_output` test in `test/test_profiler.py` less wordy and more readable by: * deleting message arguments to assertions * replacing local variables with literals or expressions, because many of these variables were motivated by keeping line length low in message arguments passed to assertions * removing tolerances in the pytest.approx calls because CI jitter should not affect timings, and all floating point numbers involved are exactly representable per the IEEE-754 standard
- Loading branch information
Showing
1 changed file
with
20 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters