Skip to content

Commit

Permalink
Temporary commit for debugging flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
bradenmacdonald committed Feb 10, 2016
1 parent 11515c4 commit 37b79f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/integration/test_sizing.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,9 @@ def _check_width(self, item_description, item, container_width, expected_percent
else:
self.assertAlmostEqual(
width_percent, expected_percent, delta=1,
msg="{} should have width of ~{}% (+/- 1%). Actual: {:.2f}%".format(
item_description, expected_percent, width_percent
msg="{} should have width of ~{}% (of {} px = {} px) (+/- 1%). Actual: {:.2f}% ({} px)".format(
item_description, expected_percent, container_width,
container_width * expected_percent / 100, width_percent, item.size["width"]
)
)

Expand Down

0 comments on commit 37b79f9

Please sign in to comment.