Skip to content
Browse files

Merge pull request #3 from guilhermebruzzi/master

O teste não estava funcionando
  • Loading branch information...
2 parents 99f4a6a + 08d8a3a commit cc6b4eb55c7ae30a8f75af2be165504565dbeb79 @heynemann committed Sep 6, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −0 .gitignore
  2. +2 −2 test/test_count_words.py
View
1 .gitignore
@@ -26,3 +26,4 @@ pip-log.txt
#Mr Developer
.mr.developer.cfg
.DS_Store
+*.geany
View
4 test/test_count_words.py
@@ -19,7 +19,7 @@ def split_words(self, lines):
def main():
start = time.time()
- items = CountWordsStream().process(None)
+ items = CountWordsStream().process(None, None)
print "input stream took %.2f" % (time.time() - start)
start = time.time()
@@ -30,7 +30,7 @@ def main():
print "mapping took %.2f" % (time.time() - start)
start = time.time()
- CountWordsReducer().reduce(results)
+ CountWordsReducer().reduce(None, results)
print "reducing took %.2f" % (time.time() - start)
if __name__ == '__main__':

0 comments on commit cc6b4eb

Please sign in to comment.
Something went wrong with that request. Please try again.