Permalink
Browse files

Made import safe

  • Loading branch information...
jpellerin committed May 5, 2009
1 parent 48b4081 commit 5206704875a2d566811798a666342d31adf92d81
Showing with 2 additions and 1 deletion.
  1. +2 −1 bin/nosetests
View
@@ -2,4 +2,5 @@
from nose import main
-main()
+if __name__ == '__main__':
+ main()

0 comments on commit 5206704

Please sign in to comment.