aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/cython/2 generated sources/test.py
blob: 307283f2655c9d560f037abbec5c03bedc68ebf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python3
# SPDX-License-Identifier: Apache-2.0

import argparse
import importlib

parser = argparse.ArgumentParser()
parser.add_argument('mod')
args = parser.parse_args()

mod = importlib.import_module(args.mod)

assert mod.func() == 'Hello, World!'