• Home
  • Raw
  • Download

Lines Matching +full:test +full:- +full:macos

8 from test.support import verbose
25 "Test a 'standard' install layout on Windows."
50 "Test an in-build-tree layout on Windows."
76 """Test a venv layout on Windows.
113 """Test registry lookup on Windows.
118 hkey = rf"HKLM\Software\Python\PythonCore\9.8-XY\PythonPath"
121 f"{hkey}\\Path1": "path1-dir",
122 f"{hkey}\\Path1\\Subdir": "not-subdirs",
136 "path1-dir",
137 # should not contain not-subdirs
162 "Test a 'standard' install layout via symlink on Windows."
189 "Test an in-build-tree layout via symlink on Windows."
217 "Test an out-of-build-tree layout on Windows with PYTHONHOME override."
247 "Test a layout on Windows with no DLLs directory."
270 "Test a 'standard' install layout on *nix"
278 ns.add_known_dir("/usr/lib/python9.8/lib-dynload")
288 "/usr/lib/python9.8/lib-dynload",
295 """Test an in-build-tree layout on POSIX.
307 ns.add_known_file("/home/cpython/pybuilddir.txt", ["build/lib.linux-x86_64-9.8"])
309 ns.add_known_dir("/home/cpython/lib-dynload")
321 "/home/cpython/build/lib.linux-x86_64-9.8",
328 "Test a venv layout on *nix."
337 ns.add_known_dir("/usr/lib/python9.8/lib-dynload")
352 "/usr/lib/python9.8/lib-dynload",
359 "Test a venv layout on *nix."
369 ns.add_known_dir("/usr/lib/python9.8/lib-dynload")
384 "/usr/lib/python9.8/lib-dynload",
391 "Test a venv created from non-installed python has correct zip path."""
397 ns.add_known_xfile("/path/to/non-installed/bin/python")
400 "/path/to/non-installed/bin/python")
401 ns.add_known_file("/path/to/non-installed/lib/python9.8/os.py")
402 ns.add_known_dir("/path/to/non-installed/lib/python9.8/lib-dynload")
404 r"home = /path/to/non-installed"
408 prefix="/path/to/non-installed",
409 exec_prefix="/path/to/non-installed",
410 base_executable="/path/to/non-installed/bin/python",
411 base_prefix="/path/to/non-installed",
412 base_exec_prefix="/path/to/non-installed",
415 "/path/to/non-installed/lib/python98.zip",
416 "/path/to/non-installed/lib/python9.8",
417 "/path/to/non-installed/lib/python9.8/lib-dynload",
424 "Test a venv --copies layout on *nix that lacks a distributed 'python'"
433 ns.add_known_dir("/usr/lib/python9.8/lib-dynload")
448 "/usr/lib/python9.8/lib-dynload",
455 "Test a 'standard' install layout via symlink on *nix"
464 ns.add_known_dir("/usr/lib/python9.8/lib-dynload")
474 "/usr/lib/python9.8/lib-dynload",
481 """Test an in-build-tree layout on POSIX.
495 ns.add_known_file("/home/cpython/pybuilddir.txt", ["build/lib.linux-x86_64-9.8"])
497 ns.add_known_dir("/home/cpython/lib-dynload")
509 "/home/cpython/build/lib.linux-x86_64-9.8",
516 "Test an install with custom platlibdir on *nix"
524 ns.add_known_dir("/usr/lib64/python9.8/lib-dynload")
534 "/usr/lib64/python9.8/lib-dynload",
541 """ Test framework layout on macOS
543 This layout is primarily detected using a compile-time option
548 …gv0="/Library/Frameworks/Python.framework/Versions/9.8/Resources/Python.app/Contents/MacOS/Python",
553 …ble="/Library/Frameworks/Python.framework/Versions/9.8/Resources/Python.app/Contents/MacOS/Python",
556 …ile("/Library/Frameworks/Python.framework/Versions/9.8/Resources/Python.app/Contents/MacOS/Python")
558 … ns.add_known_dir("/Library/Frameworks/Python.framework/Versions/9.8/lib/python9.8/lib-dynload")
561 # This is definitely not the stdlib (see discusion in bpo-46890)
575 "/Library/Frameworks/Python.framework/Versions/9.8/lib/python9.8/lib-dynload",
582 """ Test framework layout on macOS with alternate framework name
584 ``--with-framework-name=DebugPython``
586 This layout is primarily detected using a compile-time option
590 …ary/Frameworks/DebugPython.framework/Versions/9.8/Resources/Python.app/Contents/MacOS/DebugPython",
596 …ary/Frameworks/DebugPython.framework/Versions/9.8/Resources/Python.app/Contents/MacOS/DebugPython",
604 …ary/Frameworks/DebugPython.framework/Versions/9.8/Resources/Python.app/Contents/MacOS/DebugPython")
606 …ns.add_known_dir("/Library/Frameworks/DebugPython.framework/Versions/9.8/lib/python9.8/lib-dynload…
609 # This is definitely not the stdlib (see discusion in bpo-46890)
622 "/Library/Frameworks/DebugPython.framework/Versions/9.8/lib/python9.8/lib-dynload",
629 """Test a venv layout on macOS using a framework build
634 …gv0="/Library/Frameworks/Python.framework/Versions/9.8/Resources/Python.app/Contents/MacOS/Python",
639 …ble="/Library/Frameworks/Python.framework/Versions/9.8/Resources/Python.app/Contents/MacOS/Python",
647 …ile("/Library/Frameworks/Python.framework/Versions/9.8/Resources/Python.app/Contents/MacOS/Python")
649 … ns.add_known_dir("/Library/Frameworks/Python.framework/Versions/9.8/lib/python9.8/lib-dynload")
665 "/Library/Frameworks/Python.framework/Versions/9.8/lib/python9.8/lib-dynload",
672 """Test a venv layout on macOS using a framework build
674 ``--with-framework-name=DebugPython``
679 …ary/Frameworks/DebugPython.framework/Versions/9.8/Resources/Python.app/Contents/MacOS/DebugPython",
684 …ary/Frameworks/DebugPython.framework/Versions/9.8/Resources/Python.app/Contents/MacOS/DebugPython",
692 …ary/Frameworks/DebugPython.framework/Versions/9.8/Resources/Python.app/Contents/MacOS/DebugPython")
694 …ns.add_known_dir("/Library/Frameworks/DebugPython.framework/Versions/9.8/lib/python9.8/lib-dynload…
710 "/Library/Frameworks/DebugPython.framework/Versions/9.8/lib/python9.8/lib-dynload",
717 """Test a venv layout on macOS.
732 ns.add_known_dir("/usr/lib/python9.8/lib-dynload")
747 "/usr/lib/python9.8/lib-dynload",
754 "Test a 'standard' install layout via symlink on macOS"
760 # real_executable on macOS matches the invocation path
767 ns.add_known_dir("/usr/lib/python9.8/lib-dynload")
777 "/usr/lib/python9.8/lib-dynload",
784 """Test an in-build-tree layout via symlink on macOS.
795 # real_executable on macOS matches the invocation path
802 ns.add_known_file("/home/cpython/pybuilddir.txt", ["build/lib.macos-9.8"])
804 ns.add_known_dir("/home/cpython/lib-dynload")
816 "/home/cpython/build/lib.macos-9.8",
881 self["PYWINVER"] = "9.8-XY"
1018 self.open[hkey] -= 1
1175 print("{}.{} -{!r}\n{} +{!r}".format(prefix, k.ljust(max_k), b, indent, a))