[MRG + 1] Add tests for repr (#128)
* add tests for repr * remove repr for Cell * add round for repr of Cell * change decimal places to 2 * change tests for 2 decimal places
This commit is contained in:
committed by
Vinayak Mehta
parent
f13337d50a
commit
c53ea795fd
+1
-1
@@ -71,7 +71,7 @@ class Cell(object):
|
||||
|
||||
def __repr__(self):
|
||||
return '<Cell x1={} y1={} x2={} y2={}>'.format(
|
||||
self.x1, self.y1, self.x2, self.y2)
|
||||
round(self.x1, 2), round(self.y1, 2), round(self.x2, 2), round(self.y2, 2))
|
||||
|
||||
@property
|
||||
def text(self):
|
||||
|
||||
Reference in New Issue
Block a user