Skip to content

Commit

Permalink
fixed code to allow Python's 'set' module
Browse files Browse the repository at this point in the history
  • Loading branch information
zopyx committed Jan 13, 2007
1 parent 35adf66 commit 0109dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testPythonScript.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def testGetSize(self):
self.assertEqual(f.get_size(), len(f.read()))

def testSet(self):
res = self._newPS('return len(Set([1,2,3]))')()
res = self._newPS('from sets import Set; return len(Set([1,2,3]))')()
self.assertEqual(res, 3)

def testDateTime(self):
Expand Down

0 comments on commit 0109dab

Please sign in to comment.