summaryrefslogtreecommitdiff
path: root/tests/basics/string_compare.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basics/string_compare.py')
-rw-r--r--tests/basics/string_compare.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/basics/string_compare.py b/tests/basics/string_compare.py
index f34879df2..6515809b3 100644
--- a/tests/basics/string_compare.py
+++ b/tests/basics/string_compare.py
@@ -51,10 +51,7 @@ print("1/" <= "1")
# this tests an internal string that doesn't have a hash with a string
# that does have a hash, but the lengths of the two strings are different
-try:
- import usys as sys
-except ImportError:
- import sys
+import sys
print(sys.version == 'a long string that has a hash')
# this special string would have a hash of 0 but is incremented to 1