summaryrefslogtreecommitdiff
path: root/tests/test_gtype_instance.py
blob: a2f7eec535f0727a282900cf5177a6bac0e74705 (plain)
1
2
3
4
5
6
7
8

import pytest
from gi.repository import Regress


def test_fundamental_type_instantiation_fails():
    with pytest.raises(TypeError, match="No means to translate argument or return value for 'RegressTestFundamentalSubObject'"):
        Regress.TestFundamentalSubObject.new("data")