[svn r45671] Change lines for code.txt not to fail on cpy2.5
Problem is described in tests (skipped) anyway, hence there is no point in failing code snippet in documentation --HG-- branch : trunk
This commit is contained in:
		
							parent
							
								
									a18a291dee
								
							
						
					
					
						commit
						e722cb2db7
					
				|  | @ -68,9 +68,8 @@ class LocalPath(common.FSPathBase, PlatformMixin): | |||
|         elif isinstance(path, str): | ||||
|             self.strpath = os.path.abspath(os.path.normpath(str(path))) | ||||
|         else: | ||||
|             raise ValueError( | ||||
|                 "can only pass None, Path instances " | ||||
|                 "or non-empty strings to LocalPath") | ||||
|             raise ValueError("can only pass None, Path instances " | ||||
|                              "or non-empty strings to LocalPath") | ||||
|         assert isinstance(self.strpath, str) | ||||
|         return self | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue