diff --git a/juriscraper/lib/test_utils.py b/juriscraper/lib/test_utils.py index 5d654b894..da01ac712 100644 --- a/juriscraper/lib/test_utils.py +++ b/juriscraper/lib/test_utils.py @@ -64,7 +64,7 @@ def warn_or_crash_slow_parser(duration, warn_duration=1, max_duration=15): # Only do this if we're not debugging. Debuggers make things slower # and breakpoints make things stop. raise SlownessException( - "This scraper took {duration}s to test, which is more than " + "This scraper took {duration:.3f}s to test, which is more than " "the allowed speed of {max_duration}s. Please speed it up for " "tests to pass.".format( duration=duration, max_duration=max_duration