Skip to content

Commit

Permalink
Fix typo in unused test code
Browse files Browse the repository at this point in the history
I assume it is unused because otherwise this would've been fixed long
ago, right?
  • Loading branch information
mgedmin committed Apr 30, 2014
1 parent 7ca6fd6 commit 5517a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zope/pagetemplate/tests/util.py
Expand Up @@ -29,7 +29,7 @@ def values(self): return [self]*7
def items(self): return [('bruce',self)]*7
def __len__(self): return 7
def __getitem__(self,index):
if ininstance(index, int) and (index < 0 or index > 6):
if isinstance(index, int) and (index < 0 or index > 6):
raise IndexError(index)
return self
isDocTemp = 0
Expand Down

0 comments on commit 5517a20

Please sign in to comment.