Skip to content

Commit

Permalink
Fixed pep8-ness of fix for #18
Browse files Browse the repository at this point in the history
  • Loading branch information
awestendorf committed Jun 8, 2014
1 parent 6dd8d8a commit efcdabc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chai/chai.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,11 @@ def tearDown(self):
break
mod = sys.modules[cls.__module__]

if getattr(mod,'stub',None) == self.stub:
if getattr(mod, 'stub', None) == self.stub:
delattr(mod, 'stub')
if getattr(mod,'expect',None) == self.expect:
if getattr(mod, 'expect', None) == self.expect:
delattr(mod, 'expect')
if getattr(mod,'mock',None) == self.mock:
if getattr(mod, 'mock', None) == self.mock:
delattr(mod, 'mock')

# Docs insist that this will be called no matter what happens in
Expand Down

0 comments on commit efcdabc

Please sign in to comment.