File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
graalpython/com.oracle.graal.python.test/src/tests Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -99,9 +99,9 @@ def test_new_features():
99
99
res = struct .pack (xfmt , arg )
100
100
assert res == exp
101
101
assert struct .calcsize (xfmt ) == len (res )
102
- # rev = struct.unpack(xfmt, res)[0]
103
- # if rev != arg:
104
- # assert asy
102
+ rev = struct .unpack (xfmt , res )[0 ]
103
+ if rev != arg :
104
+ assert asy
105
105
106
106
107
107
def test_pack_unpack ():
@@ -138,8 +138,8 @@ def test_pack_unpack():
138
138
139
139
# floats
140
140
cases = [
141
- # ('f', 1.12123123, 1.121231198310852),
142
- # ('d', 1.12123123, 1.12123123),
141
+ ('f' , 1.12123123 , 1.121231198310852 ),
142
+ ('d' , 1.12123123 , 1.12123123 ),
143
143
('e' , 1.12345678912345 , 1.123046875 ),
144
144
('e' , - 145.12345678912345 , - 145.125 ),
145
145
]
You can’t perform that action at this time.
0 commit comments