Skip to content

Commit

Permalink
replaced docstrings with comments in bbox tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ptomulik committed Sep 26, 2022
1 parent 7655010 commit 23eaca2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_bbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def test_bbox_subpath_stroke(self):
))

def test_bbox_rotated_circle(self):
"""The rotation of circle must not affect it's bounding box"""
# Rotation of circle must not affect it's bounding box
c = Circle(cx=0, cy=0, r=1, transform="rotate(45)")
(xmin, ymin, xmax, ymax) = c.bbox()
self.assertAlmostEqual(-1, xmin)
Expand All @@ -285,7 +285,7 @@ def test_bbox_rotated_circle(self):
self.assertAlmostEqual( 1, ymax)

def test_bbox_svg_with_rotated_circle(self):
"""The rotation of circle within group must not affect it's bounding box"""
# Rotation of circle within group must not affect it's bounding box
q = io.StringIO(
u'''<?xml version="1.0" encoding="utf-8" ?>
<svg>
Expand All @@ -309,7 +309,7 @@ def test_bbox_translated_circle(self):
self.assertAlmostEqual( 0, ymax)

def test_bbox_svg_with_translated_group_with_circle(self):
"""The translation of nested group must be applied correctly"""
# Translation of nested group must be applied correctly
q = io.StringIO(
u'''<?xml version="1.0" encoding="utf-8" ?>
<svg>
Expand Down

0 comments on commit 23eaca2

Please sign in to comment.