Reverted changes.
This commit is contained in:
		
							parent
							
								
									7efdd5063b
								
							
						
					
					
						commit
						0fb52416b1
					
				| 
						 | 
					@ -748,8 +748,8 @@ class Config:
 | 
				
			||||||
        """
 | 
					        """
 | 
				
			||||||
        # Saving _ns so it can be used for other assertion rewriting purposes
 | 
					        # Saving _ns so it can be used for other assertion rewriting purposes
 | 
				
			||||||
        # e.g. experimental assertion pass hook
 | 
					        # e.g. experimental assertion pass hook
 | 
				
			||||||
        self._ns, self._unknown_args = self._parser.parse_known_and_unknown_args(args)
 | 
					        _ns, _unknown_args = self._parser.parse_known_and_unknown_args(args)
 | 
				
			||||||
        mode = getattr(self._ns, "assertmode", "plain")
 | 
					        mode = getattr(_ns, "assertmode", "plain")
 | 
				
			||||||
        if mode == "rewrite":
 | 
					        if mode == "rewrite":
 | 
				
			||||||
            try:
 | 
					            try:
 | 
				
			||||||
                hook = _pytest.assertion.install_importhook(self)
 | 
					                hook = _pytest.assertion.install_importhook(self)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue