Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
Co-authored-by: Kurt McKee <[email protected]>
  • Loading branch information
danthedeckie and kurtmckee authored Oct 28, 2024
1 parent 079fb03 commit a56234e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_simpleeval.py
Original file line number Diff line number Diff line change
Expand Up @@ -1364,7 +1364,7 @@ class Foo:
def bar(self):
yield "Hello, world!"

# Test the genertor does work - also adds the `yield` to codecov...
# Test the generator does work - also adds the `yield` to codecov...
assert list(Foo().bar()) == ["Hello, world!"]

evil = "foo.bar().gi_frame.f_globals['__builtins__'].exec('raise RuntimeError(\"Oh no\")')"
Expand Down

0 comments on commit a56234e

Please sign in to comment.