make test skipping more precise to fix a py32 test failure
This commit is contained in:
		
							parent
							
								
									6ca3c980bf
								
							
						
					
					
						commit
						c426a67b0e
					
				|  | @ -155,7 +155,7 @@ class TestGeneralUsage: | ||||||
|         assert result.ret != 0 |         assert result.ret != 0 | ||||||
|         assert "should be seen" in result.stdout.str() |         assert "should be seen" in result.stdout.str() | ||||||
| 
 | 
 | ||||||
|     @pytest.mark.skipif("not hasattr(os, 'symlink')") |     @pytest.mark.skipif("not hasattr(py.path.local, 'mksymlinkto')") | ||||||
|     def test_chdir(self, testdir): |     def test_chdir(self, testdir): | ||||||
|         testdir.tmpdir.join("py").mksymlinkto(py._pydir) |         testdir.tmpdir.join("py").mksymlinkto(py._pydir) | ||||||
|         p = testdir.tmpdir.join("main.py") |         p = testdir.tmpdir.join("main.py") | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue