clients/tests: declare encoding of utf-8 python source "test-client.py"

The source file now contains UTF-8 (non ASCII) characters. Python2
doesn't like that:

  "./src/tests/client/test-client.sh" "." "." "/usr/bin/python"
    File "/builddir/build/BUILD/NetworkManager-1.39.2/src/tests/client/test-client.py", line 1730
  SyntaxError: Non-ASCII character '\xe2' in file /builddir/build/BUILD/NetworkManager-1.39.2/src/tests/client/test-client.py on line 1730, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
This commit is contained in:
Thomas Haller 2022-04-21 12:00:45 +02:00
parent a8284b1d3b
commit 26a0307b8f
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -1,4 +1,5 @@
#!/usr/bin/env python
# coding: utf-8
from __future__ import print_function