change python syntax from == None to is None

This commit is contained in:
Bryan Herman 2014-04-03 08:15:54 -04:00
parent 5970ee0e18
commit 1fc0690d63
75 changed files with 75 additions and 75 deletions

View file

@ -35,7 +35,7 @@ def teardown():
if __name__ == '__main__':
# test for openmc executable
if opts.exe == None:
if opts.exe is None:
raise Exception('Must specify OpenMC executable from command line with --exe.')
# run tests