Skip to content

Commit

Permalink
Change coalib.misc.ContextManagers(imports)
Browse files Browse the repository at this point in the history
Replaced import statements in
* test/generation/Bears.py
* test/generation/FileGlobs.py
* test/generation/Project.py
* tests/interaction/Logo.py
with corresponding from coala_utils.ContextManagers

Fixes coala#54
  • Loading branch information
paniabhisek committed Dec 12, 2016
1 parent 6331560 commit 52be587
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/generation/Bears.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from pyprint.ConsolePrinter import ConsolePrinter
from coalib.output.printers.LogPrinter import LogPrinter
from coalib.misc.ContextManagers import retrieve_stdout
from coala_utils.ContextManagers import retrieve_stdout
from coala_quickstart.generation.Bears import (
filter_relevant_bears, print_relevant_bears)

Expand Down
2 changes: 1 addition & 1 deletion tests/generation/FileGlobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from pyprint.ConsolePrinter import ConsolePrinter
from coalib.output.printers.LogPrinter import LogPrinter
from coalib.misc.ContextManagers import (
from coala_utils.ContextManagers import (
simulate_console_inputs, suppress_stdout)
from coala_quickstart.generation.FileGlobs import get_project_files
from coala_quickstart.generation.Utilities import get_gitignore_glob
Expand Down
2 changes: 1 addition & 1 deletion tests/generation/Project.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import unittest

from pyprint.ConsolePrinter import ConsolePrinter
from coalib.misc.ContextManagers import retrieve_stdout
from coala_utils.ContextManagers import retrieve_stdout
from coala_quickstart.generation.Project import (
get_used_languages, print_used_languages)

Expand Down
2 changes: 1 addition & 1 deletion tests/interaction/Logo.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import unittest

from pyprint.ConsolePrinter import ConsolePrinter
from coalib.misc.ContextManagers import retrieve_stdout
from coala_utils.ContextManagers import retrieve_stdout
from coala_quickstart.interaction.Logo import (
print_welcome_message, print_side_by_side)

Expand Down

0 comments on commit 52be587

Please sign in to comment.