This commit is contained in:
Will McGugan 2020-07-16 17:24:16 +01:00
parent 607397e75d
commit 589bae9636
8 changed files with 12 additions and 12 deletions

View File

@ -2,7 +2,7 @@ from rich.bar import Bar
from rich.segment import Segment
from rich.style import Style
from render import render
from .render import render
def test_init():

View File

@ -1,9 +1,9 @@
from rich.__main__ import make_test_card
from render import render
from .render import render
try:
from _card_render import expected
from ._card_render import expected
except ImportError:
expected = None

View File

@ -2,7 +2,7 @@ import pytest
from rich.emoji import Emoji, NoEmoji
from render import render
from .render import render
def test_no_emoji():

View File

@ -5,7 +5,7 @@ import io
from rich.console import Console
from render import replace_link_ids
from .render import replace_link_ids
test_data = [1, 2, 3]

View File

@ -1,8 +1,8 @@
# coding=utf-8
from _markdown import MARKDOWN
from ._markdown import MARKDOWN
from render import render
from .render import render
from rich.console import Console
from rich.markdown import Markdown

View File

@ -1,8 +1,8 @@
# coding=utf-8
from _markdown import MARKDOWN
from ._markdown import MARKDOWN
from render import render
from .render import render
from rich.console import Console
from rich.markdown import Markdown

View File

@ -220,7 +220,7 @@ def test_columns() -> None:
console.log("hello")
console.print("world")
progress.refresh()
from render import replace_link_ids
from .render import replace_link_ids
result = replace_link_ids(console.file.getvalue())
print(repr(result))

View File

@ -6,10 +6,10 @@ import pytest
from rich.console import Console
from rich.traceback import install, Traceback
from render import render
from .render import render
try:
from _exception_render import expected
from ._exception_render import expected
except ImportError:
expected = None