Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
icemac authored Mar 1, 2024
1 parent a9c4a1f commit fe652fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def test_compile__compile_restricted_eval__used_names():
assert result.used_names == {'a': True, 'b': True, 'x': True, 'func': True}


def test_compile__compile_restricted_csingle_allowed():
def test_compile__compile_restricted_single__1():
"""It compiles code as an Interactive."""
result = compile_restricted_single('x = 4 * 6')

Expand All @@ -172,7 +172,7 @@ def test_compile__compile_restricted_csingle_allowed():
assert locals["x"] == 24


def test_compile__compile_restricted_csingle_allowed2():
def test_compile__compile_restricted__2():
"""It compiles code as an Interactive."""
code = compile_restricted('x = 4 * 6', filename="<string>", mode="single")
locals = {}
Expand Down

0 comments on commit fe652fa

Please sign in to comment.