Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
revert c0e142f
  • Loading branch information
giuliohome committed Nov 5, 2024
commit 5ad5026a37ae40996d95b8d15e6d15d88f345d75
11 changes: 0 additions & 11 deletions effect/_test_do_py3.py

This file was deleted.

2 changes: 1 addition & 1 deletion effect/fold.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def sequence(effects):
fails.
"""
# Could be: folder = lambda acc, el: acc + [el]
# But, for peformance:
# But, for performance:
result = []

def folder(acc, el):
Expand Down
4 changes: 2 additions & 2 deletions effect/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def test_performer_raises(self):

def test_success_propagates_effect_exception(self):
"""
If an succes callback is specified, but a exception result occurs,
If an success callback is specified, but a exception result occurs,
the exception is passed to the next callback.
"""
calls = []
Expand All @@ -124,7 +124,7 @@ def test_success_propagates_effect_exception(self):

def test_error_propagates_effect_result(self):
"""
If an error callback is specified, but a succesful result occurs,
If an error callback is specified, but a successful result occurs,
the success is passed to the next callback.
"""
calls = []
Expand Down
2 changes: 1 addition & 1 deletion effect/test_parallel_performers.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ParallelPerformerTestsMixin(object):
def test_empty(self):
"""
When given an empty list of effects, ``perform_parallel_async`` returns
an empty list synchronusly.
an empty list synchronously.
"""
result = sync_perform(self.dispatcher, parallel([]))
self.assertEqual(result, [])
Expand Down