File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 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):
596596
597597 with self .venv (system_site_packages = False ) as venv :
598598 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 )
601601
602602 with self .venv (system_site_packages = True ) as venv :
603603 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 )
606606
607607
608608class StartupImportTests (unittest .TestCase ):
You can’t perform that action at this time.
0 commit comments