File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ module LibPython
10
10
it 'returns the different instance but the same address' do
11
11
other = API . builtins_module_ptr
12
12
expect ( subject ) . not_to equal ( other )
13
- expect ( subject . __address__ ) . to equal ( other . __address__ )
13
+ expect ( subject . __address__ ) . to eq ( other . __address__ )
14
14
end
15
15
end
16
16
end
Original file line number Diff line number Diff line change 125
125
it 'returns a Module that wraps a Python object' do
126
126
expect ( subject ) . to be_a ( Module )
127
127
expect ( subject ) . to be_a ( PyCall ::PyObjectWrapper )
128
- expect ( subject . __pyptr__ . __address__ ) . to equal ( PyCall ::LibPython ::API . builtins_module_ptr . __address__ )
128
+ expect ( subject . __pyptr__ . __address__ ) . to eq ( PyCall ::LibPython ::API . builtins_module_ptr . __address__ )
129
129
end
130
130
131
131
it 'returns the first-created wrapper module when called twice' do
You can’t perform that action at this time.
0 commit comments