mirror of
				https://github.com/sphinx-doc/sphinx.git
				synced 2025-02-25 18:55:22 -06:00 
			
		
		
		
	Strip trailing whitespaces and normalize line endings
Trailing whitespace do not have impact on the result, they are just unused bytes. Most text editors are configured to strip trailing whitespaces. Remove them all in one go. Update a handful of files to use the UNIX line ending.
This commit is contained in:
		@@ -26,7 +26,7 @@ def test_ModuleAnalyzer_get_module_source():
 | 
			
		||||
        ModuleAnalyzer.get_module_source('builtins')
 | 
			
		||||
    with pytest.raises(PycodeError):
 | 
			
		||||
        ModuleAnalyzer.get_module_source('itertools')
 | 
			
		||||
        
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def test_ModuleAnalyzer_for_string():
 | 
			
		||||
    analyzer = ModuleAnalyzer.for_string('print("Hello world")', 'module_name')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user