File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -596,13 +596,13 @@ def test_system_site_packages(self):
596
596
597
597
with self .venv (system_site_packages = False ) as venv :
598
598
sys_path = json .loads (venv .run ('-c' , script ).stdout )
599
- assert system_paths ['purelib' ] not in sys_path , sys_path
600
- assert system_paths ['platlib' ] not in sys_path , sys_path
599
+ self . assertNotIn ( system_paths ['purelib' ], sys_path )
600
+ self . assertNotIn ( system_paths ['platlib' ], sys_path )
601
601
602
602
with self .venv (system_site_packages = True ) as venv :
603
603
sys_path = json .loads (venv .run ('-c' , script ).stdout )
604
- assert system_paths ['purelib' ] in sys_path , sys_path
605
- assert system_paths ['platlib' ] in sys_path , sys_path
604
+ self . assertIn ( system_paths ['purelib' ], sys_path )
605
+ self . assertIn ( system_paths ['platlib' ], sys_path )
606
606
607
607
608
608
class StartupImportTests (unittest .TestCase ):
You can’t perform that action at this time.
0 commit comments