# coding=utf-8 # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import (absolute_import, division, generators, nested_scopes, print_function, unicode_literals, with_statement) from hello_package import hello if __name__ == '__main__': print(hello.hello())
# coding=utf-8 # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, division, print_function, unicode_literals import pycountry from hello_package import hello if __name__ == '__main__': hello.hello() print(pycountry.countries.get(alpha_2='US').name)
def test_fasthello(): assert hello.hello() == "Super hello"
# coding=utf-8 # Copyright 2017 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, division, print_function, unicode_literals from hello_package import hello if __name__ == '__main__': print(hello.hello())
def test_fasthello(): assert hello.hello() == '\n'.join([ 'Hello from C!', 'Hello from C++!', ])
# coding=utf-8 # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import (absolute_import, division, generators, nested_scopes, print_function, unicode_literals, with_statement) import pycountry from hello_package import hello if __name__ == '__main__': hello.hello() print(pycountry.countries.get(alpha_2='US').name)