Drop .decode from UTF8_TEST_STRING

This commit is contained in:
Brian C. Lane 2018-08-07 10:07:39 -07:00
parent 2b0f9c4bd7
commit a034b205aa

View File

@ -34,7 +34,7 @@ from pylorax.api.dnfbase import get_base_object
from pylorax.sysutils import joinpaths from pylorax.sysutils import joinpaths
# Used for testing UTF-8 input support # Used for testing UTF-8 input support
UTF8_TEST_STRING = "I 𝒊ll 𝟉ο𝘁 𝛠𝔰 𝘁𝒉𝝸𝚜".decode("utf-8") UTF8_TEST_STRING = "I 𝒊ll 𝟉ο𝘁 𝛠𝔰 𝘁𝒉𝝸𝚜"
def get_system_repo(): def get_system_repo():
"""Get an enabled system repo from /etc/yum.repos.d/*repo """Get an enabled system repo from /etc/yum.repos.d/*repo