Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
31873: fix pyflakes warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mwageringel committed Jun 18, 2021
1 parent e023915 commit a47a360
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sage/interfaces/sympy.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,6 @@ class UndefSageHelper:
sage: assert f == F._sage_()
"""
def __get__(self, ins, typ):
import sage.all as sage
if ins is None:
return lambda: _sympysage_function_by_name(typ.__name__)
else:
Expand Down Expand Up @@ -925,7 +924,7 @@ def check_expression(expr, var_symbols, only_from_sympy=False):

# evaluate the expression in the context of SymPy:
if var_symbols:
sympy_vars = svar(var_symbols)
svar(var_symbols)
b = globals().copy()
b.update(sympydict)
assert "sin" in b
Expand Down

0 comments on commit a47a360

Please sign in to comment.