You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test
Tadej Borovšak 74a103d655 Remove em dash from the pytest configuration file
On some systems (tested with official Debian Buster-based Python 3.6
docker image), setting the LC_ALL environment variable to en_US.UTF-8
will trigger Python into switching its preferred encoding to ASCII.
If any python process tries to read a non-ASCII file in this scenario,
it will terminate with an error.

And this is exactly what happens to pytest when it tries to load its
configuration that ansible-test supplies because the configuration
contains an em dash.

In order to bypass this issue, we replaced the em dash with a regular
dash and things started working again.

An alternative solution would be to replace the en_US.UTF-8 locale with
something safer, but unfortunately, the en_US.UTF-8 is probably as safe
as it gets.
4 years ago
..
ansible_test Relocate ansible-test self tests outside package. (#61255) 5 years ago
integration Fix with_dict/with_list being passed incorrect type tests (#71699) 4 years ago
lib/ansible_test Remove em dash from the pytest configuration file 4 years ago
sanity Allow list of filters for the setup module (#68551) 4 years ago
support Remove incidental azure tests (#71164) 4 years ago
units AnsibleVaultEncryptedUnicode should be considered a string (#71609) 4 years ago
utils/shippable Remove incidental azure tests (#71164) 4 years ago