Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image.py: fix old-style(?) relative import statement #366

Merged
merged 2 commits into from
Dec 23, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion plumbum/cli/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from plumbum import colors
from .termsize import get_terminal_size
import . as cli
from .. import cli
import sys

class Image(object):
Expand Down
2 changes: 2 additions & 0 deletions tests/test_color.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
from plumbum.colorlib.styles import ANSIStyle, Color, AttributeNotFound, ColorNotFound
from plumbum.colorlib.names import color_html, FindNearest

# Just check to see if this file is importable
from plumbum.cli.image import Image

class TestNearestColor:
def test_exact(self):
Expand Down