mirror of https://github.com/python/cpython
test_strlit was never run
This commit is contained in:
commit
b63a450cc4
|
@ -32,6 +32,7 @@ import sys
|
|||
import shutil
|
||||
import tempfile
|
||||
import unittest
|
||||
import test.support
|
||||
|
||||
|
||||
TEMPLATE = r"""# coding: %s
|
||||
|
@ -142,7 +143,8 @@ class TestLiterals(unittest.TestCase):
|
|||
self.check_encoding("latin9")
|
||||
|
||||
|
||||
def test_main():
|
||||
test.support.run_unittest(__name__)
|
||||
|
||||
if __name__ == "__main__":
|
||||
# Hack so that error messages containing non-ASCII can be printed
|
||||
sys.stdout._encoding = sys.stderr._encoding = "utf-8"
|
||||
unittest.main()
|
||||
test_main()
|
||||
|
|
Loading…
Reference in New Issue