1
1
from __future__ import annotations
2
2
3
- import itertools
4
3
import json
5
4
6
5
from pathlib import Path
46
45
from tests .conftest import Config
47
46
from tests .types import FixtureDirGetter
48
47
49
- RESERVED_PACKAGES = ("pip" , "setuptools" , "wheel" )
50
-
51
48
52
49
class Executor (BaseExecutor ):
53
50
def __init__ (self , * args : Any , ** kwargs : Any ) -> None :
@@ -628,12 +625,7 @@ def test_run_install_removes_no_longer_locked_packages_if_installed(
628
625
629
626
@pytest .mark .parametrize (
630
627
"managed_reserved_package_names" ,
631
- itertools .chain (
632
- [()],
633
- itertools .permutations (RESERVED_PACKAGES , 1 ),
634
- itertools .permutations (RESERVED_PACKAGES , 2 ),
635
- [RESERVED_PACKAGES ],
636
- ),
628
+ [(), ("pip" ,)],
637
629
)
638
630
def test_run_install_with_synchronization (
639
631
managed_reserved_package_names : tuple [str , ...],
@@ -647,16 +639,12 @@ def test_run_install_with_synchronization(
647
639
package_b = get_package ("b" , "1.1" )
648
640
package_c = get_package ("c" , "1.2" )
649
641
package_pip = get_package ("pip" , "20.0.0" )
650
- package_setuptools = get_package ("setuptools" , "20.0.0" )
651
- package_wheel = get_package ("wheel" , "20.0.0" )
652
642
653
643
all_packages = [
654
644
package_a ,
655
645
package_b ,
656
646
package_c ,
657
647
package_pip ,
658
- package_setuptools ,
659
- package_wheel ,
660
648
]
661
649
662
650
managed_reserved_packages = [
0 commit comments