Skip to content

Commit

Permalink
fix: moved imports
Browse files Browse the repository at this point in the history
  • Loading branch information
15r10nk committed Sep 26, 2022
1 parent 6de5377 commit 94df60d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_pytest.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@
from littleutils import SimpleNamespace

from executing import Source, NotOneValueFound
from executing.executing import is_ipython_cell_code, attr_names_match
from executing.executing import is_ipython_cell_code, attr_names_match, is_rewritten_by_pytest,get_instructions

import executing.executing

from executing._exceptions import KnownIssue

from executing import Source,NotOneValueFound

import dis

sys.path.append(os.path.dirname(os.path.dirname(__file__)))


Expand Down Expand Up @@ -399,8 +402,6 @@ def collect_names(code):
) == {"Test","_","a", "self", "__thing"}


from executing.executing import is_rewritten_by_pytest,get_instructions
import dis

def test_pytest_rewrite():
frame = inspect.currentframe()
Expand Down

0 comments on commit 94df60d

Please sign in to comment.