Changeset 854 for tester


Ignore:
Timestamp:
03/11/19 02:07:40 (5 years ago)
Author:
Maciej Komosinski
Message:

Comparing with "None" using "is not" instead of "!="

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tester/tester.py

    r807 r854  
    5151        ok = check(stdnet if len(output_net) > 0 else stdout, output_list if len(output_list) > 0 else output_net, output_msg)
    5252
    53         if p.returncode != 0 and p.returncode != None:
     53        if p.returncode != 0 and p.returncode is not None:
    5454                print("  ", p.returncode, "<- returned code")
    5555
Note: See TracChangeset for help on using the changeset viewer.