Skip to content

Commit 70600a0

Browse files
committed
use built in complex numbers
1 parent 68707c6 commit 70600a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_f142.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def test_raises_not_implemented_error_when_trying_to_serialise_numpy_complex_num
190190
):
191191
complex_log = {
192192
"source_name": "some_source",
193-
"value": np.complex(3, 4),
193+
"value": complex(3, 4),
194194
"timestamp_unix_ns": 1585332414000000000,
195195
}
196196
with pytest.raises(NotImplementedError):

tests/test_f144.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def test_raises_not_implemented_error_when_trying_to_serialise_numpy_complex_num
137137
):
138138
complex_log = {
139139
"source_name": "some_source",
140-
"value": np.complex(3, 4),
140+
"value": complex(3, 4),
141141
"timestamp_unix_ns": 1585332414000000000,
142142
}
143143
with pytest.raises(NotImplementedError):

0 commit comments

Comments
 (0)