diff options
Diffstat (limited to 'Lib/test/regrtest.py')
-rwxr-xr-x | Lib/test/regrtest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 3d9c5af..dadf69b 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` |