#3951 ent_test: Update assertions for python 3.7.2
Merged by jhrozek. Opened by lslebodn.
SSSD/ lslebodn/sssd python_3_7_2  into  master

Download 3951.patch

pwd and grp modules return different string in KeyError
since python 3.7.2

sh-4.4$ python3 --version
Python 3.7.1
sh-4.4$ python3 -c 'import grp; grp.getgrnam("non-exist");'
Traceback (most recent call last):
File "", line 1, in
KeyError: 'getgrnam(): name not found: non-exist'

sh-4.4$ python3 --version
Python 3.7.2
sh-4.4$ python3 -c 'import grp; grp.getgrnam("non-exist");'
Traceback (most recent call last):
File "", line 1, in
KeyError: "getgrnam(): name not found: 'non-exist'"

LGTM, I'll run CI before pushing.

Sorry about the delay

Commit 54d7175d fixes this pull-request

Pull-Request has been merged by jhrozek

  • master: 54d7175d018792fc676201bd1b9772b268f14922
  • sssd-1-16: f4416173322ffc62dd40da9fd438c2d29382bd0c
Metadata