Skip tests that fail with newer versions of Python. Patch copied from Gentoo: https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-python/unittest2/files/unittest2-1.1.0-python3.5-test.patch diff --git a/unittest2/test/test_loader.py b/unittest2/test/test_loader.py index 683f662..347eea5 100644 --- a/unittest2/test/test_loader.py +++ b/unittest2/test/test_loader.py @@ -509,6 +509,7 @@ class Test_TestLoader(unittest2.TestCase): # # What happens when an impossible name is given, relative to the provided # `module`? + @unittest.skipIf(sys.version_info[:2] >= (3, 5), "python 3.5 has problems here") def test_loadTestsFromName__relative_malformed_name(self): loader = unittest.TestLoader() @@ -811,6 +812,7 @@ class Test_TestLoader(unittest2.TestCase): # TestCase or TestSuite instance." # # What happens when presented with an impossible module name? + @unittest.skipIf(sys.version_info[:2] >= (3, 5), "python 3.5 has problems here") def test_loadTestsFromNames__malformed_name(self): loader = unittest2.TestLoader() @@ -918,6 +920,7 @@ class Test_TestLoader(unittest2.TestCase): # "The method optionally resolves name relative to the given module" # # What happens when presented with an impossible attribute name? + @unittest.skipIf(sys.version_info[:2] >= (3, 5), "python 3.5 has problems here") def test_loadTestsFromNames__relative_malformed_name(self): loader = unittest.TestLoader()
path: root/gnu/system/pam.scm
AgeCommit message (Expand)Author
2019-05-09system: pam: Add #:login-uid? parameter to 'unix-pam-service'....* gnu/system/pam.scm (unix-pam-service): Add #:login-uid? parameter. In then 'session' field, add "pam_loginuid.so" as required when LOGIN-UID? is true. Ludovic Courtès
2017-09-22services: Move 'session-environment-service-type' to pam.scm....* gnu/services/base.scm (environment-variables->environment-file) (session-environment-service-type) (session-environment-service): Move to... * gnu/system/pam.scm: ... here. Ludovic Courtès
2017-05-08system: Allow root to run "su" without password....* gnu/system/pam.scm (unix-pam-service): Add pam-entry for "pam_rootok.so" to auth field when ALLOW-ROOT? is #T. (base-pam-services): Allow root to run "su" without authentication. Ricardo Wurmus
2016-11-06gnu: Remove comment which is factually incorrect....* gnu/system/pam.scm: Remove incorrect comment. John Darrington
2016-07-19services: Add pam-limits-service....* gnu/system/pam.scm (<pam-limits-entry>): New record type. (pam-limits-entry, pam-limits-entry->string): New procedures. * gnu/services/base.scm (pam-limits-service-type): New variable. (pam-limits-service): New procedure. * doc/guix.texi (Base Services): Document it. Ricardo Wurmus
2016-02-06system: pam: 'pam-root-service-type' can be extended with transformations....* gnu/system/pam.scm (<pam-configuration>): New record type. (/etc-entry): Change 'services' parameter' to 'config'. Honor the 'transform' field of CONFIG. (extend-configuration): New procedure. (pam-root-service-type): Use EXTEND-CONFIGURATION as the 'extend' field. (pam-root-service): Add #:transform parameter. Service value is a <pam-configuration>. Ludovic Courtès
2016-02-06system: pam: Export accessors....* gnu/system/pam.scm: Export <pam-service> and <pam-entry> accessors. Ludovic Courtès
2015-12-05system: pam: Honor /etc/environment....* gnu/system/pam.scm (unix-pam-service): Add pam_env module to the session group. 宋文武
2015-11-03system: Rename (gnu system linux) to (gnu system pam)....* gnu/system/linux.scm: Rename to... * gnu/system/pam.scm: ... this. * gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly. * gnu.scm, gnu/services/base.scm, gnu/services/desktop.scm, gnu/services/networking.scm, gnu/services/ssh.scm, gnu/services/xorg.scm, gnu/system.scm, gnu/system/vm.scm: Likewise. Ludovic Courtès