tests: the Mac setup dispatch pin follows the Ling guard (test_setup_mac ControlMode::test_other_platforms_and_the_terminal_still_use_their_own_setup)

e4a532c1ee (Ling-3.2-Air on a Mac) added "and not _ling_ask" to the Terminal's Mac guard in setup.py, and the test pins that source line.
The pin now names the guard with the Ling term. Test only; no product code changed.
This commit is contained in:
Niko1221 committed 2026-12-02 21:55:03 +01:00
1 parent 5f5f42d87b
commit 0191ecafbe
1 file changed
+1 -1
+1 -1
View File
@@ -505,7 +505,7 @@ class ControlMode(unittest.TestCase):
def test_other_platforms_and_the_terminal_still_use_their_own_setup(self):
src = (ROOT / "setup.py").read_text(encoding="utf-8")
self.assertIn('if sys.platform == "darwin" and not CONTROL and not _hy4_ask and not _ink_ask:', src)
self.assertIn('if sys.platform == "darwin" and not CONTROL and not _hy4_ask and not _ink_ask and not _ling_ask:', src) # Ling-3.2-Air has its own Mac path (mac_ling32_setup)
self.assertIn('return mac_control_setup(a)', src)