Skip to content

Commit 0bd9777

Browse files
committed
Modify tests
1 parent 81d9e4a commit 0bd9777

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/rect_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2582,8 +2582,8 @@ def test_clipline__floats(self):
25822582
pass # Unused
25832583

25842584
def testRepr(self):
2585-
rect = Rect(12, 34, 56, 78)
2586-
self.assertEqual(repr(rect), "FRect(12.0, 34.0, 56.0, 78.0)")
2585+
rect = Rect(12.3456789, 34, 56, 78)
2586+
self.assertEqual(repr(rect), "FRect(12.345679, 34.000000, 56.000000, 78.000000)")
25872587

25882588
def test_clipline__equal_endpoints_no_overlap(self):
25892589
"""Ensures clipline handles lines with both endpoints the same.

0 commit comments

Comments
 (0)