diff options
Diffstat (limited to 'tests/float/float_struct.py')
-rw-r--r-- | tests/float/float_struct.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/float/float_struct.py b/tests/float/float_struct.py index 8ad0e492c6..e55890a2cd 100644 --- a/tests/float/float_struct.py +++ b/tests/float/float_struct.py @@ -1,6 +1,9 @@ # test struct package with floats -import struct +try: + import ustruct as struct +except: + import struct i = 1. + 1/2 # TODO: it looks like '=' format modifier is not yet supported |