Skip to content

Commit

Permalink
Move tests into separate package llllllllll#59.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kentzo committed Sep 10, 2017
1 parent 3cb7737 commit d58eeac
Show file tree
Hide file tree
Showing 15 changed files with 8 additions and 8 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
reason='decompiler only runs on 3.4',
)
if _343:
from ..decompiler import (
from codetransformer.decompiler import (
DecompilationContext,
decompile,
paramnames,
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from ..add2mul import add2mul
from codetransformer.transformers.add2mul import add2mul


def test_add2mul():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import pytest

from codetransformer.code import Code
from ..constants import asconstants
from codetransformer.transformers.constants import asconstants


basename = os.path.basename(__file__)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pytest import raises
from ..pattern_matched_exceptions import pattern_matched_exceptions
from codetransformer.transformers.pattern_matched_exceptions import pattern_matched_exceptions


def test_patterns():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import pytest

from ..interpolated_strings import interpolated_strings
from codetransformer.transformers.interpolated_strings import interpolated_strings


pytestmark = pytest.mark.skipif(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from decimal import Decimal
from itertools import islice

from ..literals import (
from codetransformer.transformers.literals import (
islice_literals,
overloaded_dicts,
overloaded_bytes,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from codetransformer.code import Code
from codetransformer.instructions import BUILD_SLICE, LOAD_CONST

from ..precomputed_slices import precomputed_slices
from codetransformer.transformers.precomputed_slices import precomputed_slices


def test_precomputed_slices():
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from textwrap import dedent
from types import CodeType

from ..pretty import a, walk_code
from codetransformer.utils.pretty import a, walk_code


def test_a(capsys):
Expand Down

0 comments on commit d58eeac

Please sign in to comment.