Fix invalid Python file encoding "utf8"
Since Python 3 it must be "utf-8", which is the official name. This is backwards compatible with Python 2.
This commit is contained in:
		
							parent
							
								
									6a43c8cd94
								
							
						
					
					
						commit
						18024467ff
					
				|  | @ -106,7 +106,7 @@ def test_capturing_unicode(testdir, method): | ||||||
|         obj = "u'\u00f6y'" |         obj = "u'\u00f6y'" | ||||||
|     testdir.makepyfile( |     testdir.makepyfile( | ||||||
|         """ |         """ | ||||||
|         # coding=utf8 |         # coding=utf-8 | ||||||
|         # taken from issue 227 from nosetests |         # taken from issue 227 from nosetests | ||||||
|         def test_unicode(): |         def test_unicode(): | ||||||
|             import sys |             import sys | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue