mirror of
https://gitee.com/openharmony/third_party_pyyaml
synced 2024-11-27 04:10:36 +00:00
11 lines
350 B
Python
11 lines
350 B
Python
|
|
if __name__ == '__main__':
|
|
import sys, os, distutils.util
|
|
build_lib = 'build/lib'
|
|
build_lib_ext = os.path.join('build', 'lib.{}-{}.{}'.format(distutils.util.get_platform(), *sys.version_info))
|
|
sys.path.insert(0, build_lib)
|
|
sys.path.insert(0, build_lib_ext)
|
|
import test_yaml, test_appliance
|
|
test_appliance.run(test_yaml)
|
|
|