☰
Debian Codegraph
@
1.9.4-7
1.9.4-6
/
/
test-crates
/
license-test
/
check_installed
/
check_installed.py
☽
☼
test-crates/license-test/check_installed/check_installed.py
code
plain
raw
MIT
or
Apache-2.0
2018-2023 PyO3 Project and Contributors <https://github.com/PyO3>
debian/copyright
1
from subprocess import check_output
2
3
4
def main():
5
output = check_output(["license-test"]).decode("utf-8").strip()
6
if not output == "Hello, world!":
7
raise Exception(output)
8
print("SUCCESS")
9
10
11
if __name__ == "__main__":
12
main()