mirror of
				https://github.com/sphinx-doc/sphinx.git
				synced 2025-02-25 18:55:22 -06:00 
			
		
		
		
	test: Use read_text() and read_bytes()
This commit is contained in:
		@@ -31,4 +31,4 @@ def test_no_cname_for_github_io_domain(app, status, warning):
 | 
			
		||||
def test_cname_for_custom_domain(app, status, warning):
 | 
			
		||||
    app.builder.build_all()
 | 
			
		||||
    assert (app.outdir / '.nojekyll').exists()
 | 
			
		||||
    assert (app.outdir / 'CNAME').text() == 'sphinx-doc.org'
 | 
			
		||||
    assert (app.outdir / 'CNAME').read_text() == 'sphinx-doc.org'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user