Skip to content

Commit

Permalink
handle JS_ENGINE being just a string
Browse files Browse the repository at this point in the history
  • Loading branch information
kripken committed Oct 6, 2014
1 parent 46fa2e7 commit ab09674
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
JS_ENGINE = SPIDERMONKEY_ENGINE
#JS_ENGINE = V8_ENGINE # Note: fails stress due to floating point differences

if type(JS_ENGINE) == str:
JS_ENGINE = [JS_ENGINE]


print
print '==================================='
print
Expand Down

0 comments on commit ab09674

Please sign in to comment.