PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /proc/thread-self/root/proc/self/root/proc/self/root/opt/imh-python/lib/python2.7/test/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : //proc/thread-self/root/proc/self/root/proc/self/root/opt/imh-python/lib/python2.7/test/test_eof.py |
"""test script for a few new invalid token catches""" import unittest from test import test_support class EOFTestCase(unittest.TestCase): def test_EOFC(self): expect = "EOL while scanning string literal (<string>, line 1)" try: eval("""'this is a test\ """) except SyntaxError, msg: self.assertEqual(str(msg), expect) else: raise test_support.TestFailed def test_EOFS(self): expect = ("EOF while scanning triple-quoted string literal " "(<string>, line 1)") try: eval("""'''this is a test""") except SyntaxError, msg: self.assertEqual(str(msg), expect) else: raise test_support.TestFailed def test_main(): test_support.run_unittest(EOFTestCase) if __name__ == "__main__": test_main()