#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""Test redefinition of colors."""

import colorise
import pytest


@pytest.mark.skip_on_windows
def test_redefine_colors_error():
    with pytest.raises(colorise.error.NotSupportedError):
        colorise.redefine_colors({})

#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""Test redefinition of colors."""

import colorise
import pytest


@pytest.mark.skip_on_windows
def test_redefine_colors_error():
    assert not colorise.can_redefine_colors()

    with pytest.raises(colorise.error.NotSupportedError):
        colorise.redefine_colors({})

Test color redefinition on nix
Test color redefinition on nix
