summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
Diffstat (limited to 'py')
-rw-r--r--py/pykms/pykmsbase.cpp2
-rwxr-xr-xpy/tests/test.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/py/pykms/pykmsbase.cpp b/py/pykms/pykmsbase.cpp
index 4b46d55..668e6e3 100644
--- a/py/pykms/pykmsbase.cpp
+++ b/py/pykms/pykmsbase.cpp
@@ -20,8 +20,6 @@ static vector<unique_ptr<T, py::nodelete>> convert_vector(const vector<T*>& sour
void init_pykmsbase(py::module &m)
{
py::class_<Card>(m, "Card")
- .def_static("open_modesetting_card", []() { return Card::open_modesetting_card(); })
-
.def(py::init<>())
.def(py::init<const string&>())
.def(py::init<const string&, uint32_t>())
diff --git a/py/tests/test.py b/py/tests/test.py
index 45cf6e9..83cf16a 100755
--- a/py/tests/test.py
+++ b/py/tests/test.py
@@ -13,7 +13,7 @@ args = parser.parse_args()
if args.omap:
card = pykms.OmapCard()
else:
- card = pykms.Card.open_modesetting_card()
+ card = pykms.Card()
res = pykms.ResourceManager(card)
conn = res.reserve_connector(args.connector)