Skip to content

Commit ba8f001

Browse files
committed
Remove u'' prefix and L suffix which do not appear under Python 3
1 parent d999938 commit ba8f001

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

igor/struct.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ class Structure (_struct.Struct):
429429
'time': 303240213}],
430430
'version': 1}
431431
>>> [hex(x) for x in d['runs'][0]['data'].flat]
432-
['0x607L', '0x809L', '0xa0bL', '0xc0dL', '0xe0fL', '0x1011L']
432+
['0x607', '0x809', '0xa0b', '0xc0d', '0xe0f', '0x1011']
433433
434434
You can also read out from strings:
435435

test/test-igorpy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@
7575
...
7676
0.00077303, 0.00038651, 0. ]), array([], dtype=float64), array([], dtype=float64), array([], dtype=float64)]
7777
>>> d.W_plrX5.data_units
78-
(u'', '', '', '')
78+
('', '', '', '')
7979
>>> d.W_plrX5.axis_units
80-
(u'', '', '', '')
80+
('', '', '', '')
8181
>>> d.W_plrX5.data # doctest: +ELLIPSIS
8282
array([ 1.83690956e-17, 2.69450769e-02, 7.65399113e-02,
8383
1.44305170e-01, 2.23293692e-01, 3.04783821e-01,

0 commit comments

Comments
 (0)