Skip to content

Commit

Permalink
Merge pull request #244 from paper42/fix-tests
Browse files Browse the repository at this point in the history
Fix tests by fixing typos
  • Loading branch information
tatarize authored Nov 6, 2023
2 parents 4fe33a4 + 23da989 commit 6e385af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/test_cubic_bezier.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ def test_cubic_bounds_issue_220(self):
p = Path(transform=Matrix(682.657124793113, 0.000000000003, -0.000000000003, 682.657124793113, 257913.248909660178, -507946.354527872754))
p += CubicBezier(start=Point(-117.139521365,1480.99923469), control1=Point(-41.342266634,1505.62725567), control2=Point(40.3422666342,1505.62725567), end=Point(116.139521365,1480.99923469))
bounds = p.bbox()
self.assertNotAlmostEquals(bounds[1], bounds[3], delta=100)
self.assertNotAlmostEqual(bounds[1], bounds[3], delta=100)
2 changes: 1 addition & 1 deletion test/test_write.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_write(self):

def test_write_group(self):
g = Group()
self.assertEquals(g.string_xml(), "<g />")
self.assertEqual(g.string_xml(), "<g />")

def test_write_rect(self):
r = Rect("1in", "1in", "3in", "3in", rx="5%")
Expand Down

0 comments on commit 6e385af

Please sign in to comment.