Commit b94896d
committed
test: Replace unsigned integer types with signed equivalents
Replace all uses of uint8, uint16, uint32, uint64 with their signed
counterparts in test schemas, following the removal of unsigned types
from core types.
Changes:
- uint8 → int16 (larger signed type for unsigned 8-bit range)
- uint16 → int32 (larger signed type for unsigned 16-bit range)
- uint32 → int64 (larger signed type for unsigned 32-bit range)
- int unsigned → int64 (native type replacement)
Updated files:
- tests/schema_simple.py: E.M.id_m
- tests/schema_type_aliases.py: Remove unsigned types from test table
- tests/schema.py: Auto.id, Ephys.Channel.channel
- tests/schema_university.py: Student.student_id, Course.course
- tests/integration/test_type_aliases.py: Remove unsigned type tests
- tests/integration/test_hidden_job_metadata.py: All uint8 → int16
Note: test_blob.py and test_blob_matlab.py unchanged (testing numpy
dtypes in serialization, not DataJoint table definitions).
Part of v2.0 core type system revision.1 parent 1d6fd3b commit b94896d
File tree
6 files changed
+13
-37
lines changed- tests
- integration
6 files changed
+13
-37
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | | - | |
24 | 22 | | |
25 | | - | |
26 | 23 | | |
27 | | - | |
28 | 24 | | |
29 | 25 | | |
30 | 26 | | |
| |||
41 | 37 | | |
42 | 38 | | |
43 | 39 | | |
44 | | - | |
45 | 40 | | |
46 | | - | |
47 | 41 | | |
48 | | - | |
49 | 42 | | |
50 | | - | |
51 | 43 | | |
52 | 44 | | |
53 | 45 | | |
| |||
102 | 94 | | |
103 | 95 | | |
104 | 96 | | |
105 | | - | |
106 | 97 | | |
107 | | - | |
108 | 98 | | |
109 | | - | |
110 | 99 | | |
111 | | - | |
112 | 100 | | |
113 | 101 | | |
114 | 102 | | |
| |||
125 | 113 | | |
126 | 114 | | |
127 | 115 | | |
128 | | - | |
129 | 116 | | |
130 | | - | |
131 | 117 | | |
132 | | - | |
133 | 118 | | |
134 | | - | |
135 | 119 | | |
136 | 120 | | |
137 | 121 | | |
| |||
142 | 126 | | |
143 | 127 | | |
144 | 128 | | |
145 | | - | |
146 | 129 | | |
147 | | - | |
148 | 130 | | |
149 | | - | |
150 | 131 | | |
151 | | - | |
152 | 132 | | |
153 | 133 | | |
154 | 134 | | |
155 | 135 | | |
156 | 136 | | |
157 | 137 | | |
158 | 138 | | |
159 | | - | |
160 | | - | |
| 139 | + | |
| 140 | + | |
161 | 141 | | |
162 | 142 | | |
163 | | - | |
| 143 | + | |
164 | 144 | | |
165 | 145 | | |
166 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | | - | |
21 | 19 | | |
22 | | - | |
23 | 20 | | |
24 | | - | |
25 | 21 | | |
26 | 22 | | |
27 | 23 | | |
| |||
30 | 26 | | |
31 | 27 | | |
32 | 28 | | |
33 | | - | |
| 29 | + | |
34 | 30 | | |
35 | 31 | | |
36 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments