Permalink
Browse files

My None habit :)

  • Loading branch information...
1 parent ebbdf3c commit 6e8c779fff07730d39048e9197ac04622f9d612b @rspivak committed May 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/slimit/tests/test_cmd.py
@@ -100,7 +100,7 @@ def test_main_stdin_stdout(self):
main(['-m'])
self.assertEqual('function foo(){var a=5;}', out.getvalue())
- if old_module:
+ if old_module is None:
sys.modules['slimit.minifier'] = old_module
def test_main_sys_argv(self):

0 comments on commit 6e8c779

Please sign in to comment.