Skip to content

Commit

Permalink
Merge pull request #55 from Psycojoker/insert_whitespace
Browse files Browse the repository at this point in the history
Insert produces unwanted whitespaces and insert handles index weirdly
  • Loading branch information
Psycojoker committed Feb 2, 2015
2 parents 07bf257 + c5d3103 commit ddb5067
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

0.5.1 (unreleased)
------------------

- fix whitespace duplication when using .insert()

0.5 (2015-01-31)
----------------

Expand Down
4 changes: 2 additions & 2 deletions tests/test_bounding_box.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ def test_bounding_box_with_proxy_list():


def test_bounding_box_of_attribute_with_proxy_list():
# assert ((1, 1), (32, 0)) == RED.absolute_bounding_box
# assert ((1, 1), (32, 0)) == RED.class_.absolute_bounding_box
assert ((1, 1), (32, 0)) == RED.absolute_bounding_box
assert ((1, 1), (32, 0)) == RED.class_.absolute_bounding_box
assert ((2, 5), (5, 7)) == RED.class_.value.get_absolute_bounding_box_of_attribute(0)
assert ((6, 5), (9, 17)) == RED.class_.value.get_absolute_bounding_box_of_attribute(1)
assert ((9, 18), (10, 0)) == RED.class_.value.get_absolute_bounding_box_of_attribute(2)
Expand Down

0 comments on commit ddb5067

Please sign in to comment.