Browse Source

verify Fixed an equality bug

Mike Smith 11 years ago
parent
commit
88c68fb875
1 changed files with 1 additions and 1 deletions
  1. 1 1
      toolset/benchmark/framework_test.py

+ 1 - 1
toolset/benchmark/framework_test.py

@@ -146,7 +146,7 @@ class FrameworkTest:
       # This will error out of the value could not parsed to a
       # float (this will work with ints, but it will turn them
       # into their float equivalent; i.e. "123" => 123.0)
-      if type(float(obj["id"])) == float and type(float(obj["randomNumber"])) != float:
+      if type(float(obj["id"])) == float and type(float(obj["randomNumber"])) == float:
         return True
     except:
       err.write(textwrap.dedent("""