mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 23:08:36 +00:00
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:
1 parent
5f5f42d87b
commit
0191ecafbe
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user