summaryrefslogtreecommitdiff
path: root/Lib/test/regrtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/regrtest.py')
-rwxr-xr-xLib/test/regrtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index 3d9c5afe4a..dadf69bd60 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -283,7 +283,7 @@ class Compare:
def write(self, data):
expected = self.fp.read(len(data))
- if data <> expected:
+ if data != expected:
raise test_support.TestFailed, \
'Writing: '+`data`+', expected: '+`expected`