diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-03 11:42:33 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-03 11:42:33 +0000 |
commit | 194313a653d5ba077627c85051de73377b95672a (patch) | |
tree | a8e4035e62460399fba9a328b2343275148a426e /sys-libs/pam_wrapper/files/pam_wrapper-1.1.5-tests-import.patch | |
parent | f1801aa7be2329c07c4c2bd7522e03522b34c437 (diff) |
gentoo auto-resync : 03:03:2024 - 11:42:33
Diffstat (limited to 'sys-libs/pam_wrapper/files/pam_wrapper-1.1.5-tests-import.patch')
-rw-r--r-- | sys-libs/pam_wrapper/files/pam_wrapper-1.1.5-tests-import.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sys-libs/pam_wrapper/files/pam_wrapper-1.1.5-tests-import.patch b/sys-libs/pam_wrapper/files/pam_wrapper-1.1.5-tests-import.patch new file mode 100644 index 000000000000..884583c098b4 --- /dev/null +++ b/sys-libs/pam_wrapper/files/pam_wrapper-1.1.5-tests-import.patch @@ -0,0 +1,22 @@ +--- a/tests/pypamtest_test.py ++++ b/tests/pypamtest_test.py +@@ -15,19 +15,6 @@ class PyPamTestCase(unittest.TestCase): + self.assertSequenceEqual(test_result.errors, info_list) + + class PyPamTestImport(unittest.TestCase): +- def setUp(self): +- " Make sure we load the in-tree module " +- if sys.hexversion >= 0x3000000: +- self.modpath = os.path.join(os.getcwd(), "../src/python/python3") +- else: +- self.assertTrue(False) +- self.system_path = sys.path[:] +- sys.path = [ self.modpath ] +- +- def tearDown(self): +- " Restore the system path " +- sys.path = self.system_path +- + def testImport(self): + " Import the module " + try: |