[features] tests: fix test_crash_on_closing_tmpfile_py27
(cherry picked from commit 4f0eec2022)
			
			
This commit is contained in:
		
							parent
							
								
									1667cf3350
								
							
						
					
					
						commit
						7a626921c0
					
				| 
						 | 
					@ -1407,6 +1407,8 @@ def test_crash_on_closing_tmpfile_py27(testdir):
 | 
				
			||||||
            printing.wait()
 | 
					            printing.wait()
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
 | 
					    # Do not consider plugins like hypothesis, which might output to stderr.
 | 
				
			||||||
 | 
					    testdir.monkeypatch.setenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD", "1")
 | 
				
			||||||
    result = testdir.runpytest_subprocess(str(p))
 | 
					    result = testdir.runpytest_subprocess(str(p))
 | 
				
			||||||
    assert result.ret == 0
 | 
					    assert result.ret == 0
 | 
				
			||||||
    assert result.stderr.str() == ""
 | 
					    assert result.stderr.str() == ""
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue