|
17 | 17 | "verbose", "use_resources", "max_memuse", "record_original_stdout", |
18 | 18 | "get_original_stdout", "unload", "unlink", "rmtree", "forget", |
19 | 19 | "is_resource_enabled", "requires", "find_unused_port", "bind_port", |
20 | | - "fcmp", "have_unicode", "is_jython", "TESTFN", "HOST", "FUZZ", |
21 | | - "findfile", "verify", "vereq", "sortdict", "check_syntax_error", |
22 | | - "open_urlresource", "WarningMessage", "catch_warning", "CleanImport", |
23 | | - "EnvironmentVarGuard", "TransientResource", "captured_output", |
24 | | - "captured_stdout", "TransientResource", "transient_internet", |
25 | | - "run_with_locale", "set_memlimit", "bigmemtest", "bigaddrspacetest", |
26 | | - "BasicTestRunner", "run_unittest", "run_doctest", "threading_setup", |
27 | | - "threading_cleanup", "reap_children"] |
| 20 | + "fcmp", "is_jython", "TESTFN", "HOST", "FUZZ", "findfile", "verify", |
| 21 | + "vereq", "sortdict", "check_syntax_error", "open_urlresource", |
| 22 | + "WarningMessage", "catch_warning", "CleanImport", "EnvironmentVarGuard", |
| 23 | + "TransientResource", "captured_output", "captured_stdout", |
| 24 | + "TransientResource", "transient_internet", "run_with_locale", |
| 25 | + "set_memlimit", "bigmemtest", "bigaddrspacetest", "BasicTestRunner", |
| 26 | + "run_unittest", "run_doctest", "threading_setup", "threading_cleanup", |
| 27 | + "reap_children"] |
28 | 28 |
|
29 | 29 | class Error(Exception): |
30 | 30 | """Base class for regression test exceptions.""" |
@@ -243,12 +243,6 @@ def fcmp(x, y): # fuzzy comparison function |
243 | 243 | return (len(x) > len(y)) - (len(x) < len(y)) |
244 | 244 | return (x > y) - (x < y) |
245 | 245 |
|
246 | | -try: |
247 | | - str |
248 | | - have_unicode = True |
249 | | -except NameError: |
250 | | - have_unicode = False |
251 | | - |
252 | 246 | is_jython = sys.platform.startswith('java') |
253 | 247 |
|
254 | 248 | # Filename used for testing |
|
0 commit comments