From 5588647ad28ea51682fafab50b95ae9f161d18fe Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Thu, 24 Nov 2022 09:06:49 +0100 Subject: tests/misc/cexample_module: Test class presence. Now that the Timer class has been merged in a separate pull request, this can be added to the module test too. Signed-off-by: Laurens Valk --- tests/misc/cexample_module.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/misc/cexample_module.py') diff --git a/tests/misc/cexample_module.py b/tests/misc/cexample_module.py index cf1d46f75..c1da2ecf7 100644 --- a/tests/misc/cexample_module.py +++ b/tests/misc/cexample_module.py @@ -7,8 +7,10 @@ except ImportError: raise SystemExit print(cexample) +print(cexample.__name__) d = dir(cexample) d.index("add_ints") +d.index("Timer") print(cexample.add_ints(1, 3)) -- cgit v1.2.3