mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	[3.9] bpo-47004: Sync with importlib_metadata 4.11.3. (GH-31854). (GH-31859)
(cherry picked from commit b1e2868607)
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
			
			
This commit is contained in:
		
							parent
							
								
									bda64b3c0c
								
							
						
					
					
						commit
						177be52517
					
				
					 4 changed files with 26 additions and 2 deletions
				
			
		|  | @ -104,6 +104,16 @@ def test_requires_egg_info(self): | |||
|             for dep in deps | ||||
|             ) | ||||
| 
 | ||||
|     def test_requires_egg_info_empty(self): | ||||
|         fixtures.build_files( | ||||
|             { | ||||
|                 'requires.txt': '', | ||||
|             }, | ||||
|             self.site_dir.joinpath('egginfo_pkg.egg-info'), | ||||
|         ) | ||||
|         deps = requires('egginfo-pkg') | ||||
|         assert deps == [] | ||||
| 
 | ||||
|     def test_requires_dist_info(self): | ||||
|         deps = requires('distinfo-pkg') | ||||
|         assert len(deps) == 2 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jason R. Coombs
						Jason R. Coombs