Skip to content

Commit

Permalink
Code and comment tidy up in geometry clip test
Browse files Browse the repository at this point in the history
  • Loading branch information
timlinux committed Dec 6, 2012
1 parent cd74d71 commit 5e64c64
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/src/python/test_qgsgeometry.py
Expand Up @@ -247,7 +247,6 @@ def testSimplifyIssue4189(self):

def testClipping(self):
"""Test that we can clip geometries using other geometries."""
"""Check we can write a vector file."""
myMemoryLayer = QgsVectorLayer(
('LineString?crs=epsg:4326&field=name:string(20)&index=yes'),
'clip-in',
Expand Down Expand Up @@ -316,8 +315,8 @@ def testClipping(self):
mySymmetricalGeometry = myGeometry.symDifference(
myCombinedGeometry)
# Gives you areas outside the clip area
myDifferenceGeometry = myCombinedGeometry.difference(
myClipPolygon)
# myDifferenceGeometry = myCombinedGeometry.difference(
# myClipPolygon)
#print 'Original: %s' % myGeometry.exportToWkt()
#print 'Combined: %s' % myCombinedGeometry.exportToWkt()
#print 'Difference: %s' % myDifferenceGeometry.exportToWkt()
Expand Down

0 comments on commit 5e64c64

Please sign in to comment.