Fix os detection in OSX python 3.8 (#8187)
* Fix os detection in osx python 3.8 * oops
This commit is contained in:
		
							parent
							
								
									79e6b78669
								
							
						
					
					
						commit
						0d3f0889c5
					
				@ -170,7 +170,7 @@ def doctor(cli):
 | 
				
			|||||||
    # Determine our OS and run platform specific tests
 | 
					    # Determine our OS and run platform specific tests
 | 
				
			||||||
    OS = platform.platform().lower()  # noqa (N806), uppercase name is ok in this instance
 | 
					    OS = platform.platform().lower()  # noqa (N806), uppercase name is ok in this instance
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if 'darwin' in OS:
 | 
					    if 'darwin' or 'macos' in OS:
 | 
				
			||||||
        if not os_test_macos():
 | 
					        if not os_test_macos():
 | 
				
			||||||
            ok = False
 | 
					            ok = False
 | 
				
			||||||
    elif 'linux' in OS:
 | 
					    elif 'linux' in OS:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user