Skip to content

Commit

Permalink
ProxyGraphic() does not work on Linux, skipping tests for now
Browse files Browse the repository at this point in the history
  • Loading branch information
mozman committed Apr 5, 2020
1 parent ba3d5dd commit aa4289a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_02_dxf_graphics/test_239_proxy_graphic.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# Copyright (c) 2020, Manfred Moitzi
# License: MIT License
import sys
import pytest
from ezdxf.lldxf.tags import Tags
from ezdxf.lldxf.tagwriter import TagCollector
from ezdxf.proxygraphic import load_proxy_graphic, export_proxy_graphic, ProxyGraphic

WIN = sys.platform.startswith('win')


def test_load_proxy_graphic():
binary_data = load_proxy_graphic(Tags.from_text(DATA))
Expand All @@ -19,6 +22,7 @@ def test_export_proxy_graphic():
assert s == DATA


@pytest.mark.skipif(WIN is not True, reason='works only on Windows yet!')
class TestProxyGraphic:
@pytest.fixture(scope='class')
def data(self) -> bytes:
Expand Down

0 comments on commit aa4289a

Please sign in to comment.