summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_strlit.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_strlit.py')
-rw-r--r--Lib/test/test_strlit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_strlit.py b/Lib/test/test_strlit.py
index 9eb30e9..fb9cdbb 100644
--- a/Lib/test/test_strlit.py
+++ b/Lib/test/test_strlit.py
@@ -130,7 +130,7 @@ class TestLiterals(unittest.TestCase):
self.assertRaises(SyntaxError, self.check_encoding, "utf-8", extra)
def test_file_utf8(self):
- self.check_encoding("utf8")
+ self.check_encoding("utf-8")
def test_file_iso_8859_1(self):
self.check_encoding("iso-8859-1")