Fix comparisons for pyflakes 2.1
[mudpy.git] / mudpy / tests / selftest.py
index 055e50a..2cbed03 100644 (file)
@@ -475,7 +475,7 @@ def main():
                     conversant].read_very_eager().decode("utf-8")
             except Exception:
                 pass
-            if index is not 0:
+            if index != 0:
                 tlog("\nERROR: luser%s did not receive expected string:\n\n"
                      "%s\n\n"
                      "Check the end of capture_%s.log for received data."