Skip to content

Commit 78c6568

Browse files
committed
Update test and changelogs.
1 parent 7e9c2d5 commit 78c6568

File tree

4 files changed

+12
-19
lines changed

4 files changed

+12
-19
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## Release notes
22

33
### 0.13.3 -- TBD
4+
* Add - Expose proxy feature for S3 external stores (#961) PR #962
45
* Bugfix - Dependencies not properly loaded on populate. (#902) PR #919
56
* Bugfix - Replace use of numpy aliases of built-in types with built-in type. (#938) PR #939
67
* Bugfix - `ExternalTable.delete` should not remove row on error (#953) PR #956

docs-parts/intro/Releases_lang1.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
0.13.3 -- TBD
22
----------------------
3+
* Add - Expose proxy feature for S3 external stores (#961) PR #962
34
* Bugfix - Dependencies not properly loaded on populate. (#902) PR #919
45
* Bugfix - Replace use of numpy aliases of built-in types with built-in type. (#938) PR #939
56
* Bugfix - `ExternalTable.delete` should not remove row on error (#953) PR #956

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ minio>=7.0.0
1010
matplotlib
1111
cryptography
1212
otumat
13+
urllib3

tests/test_aggr_regressions.py

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -93,20 +93,6 @@ class X(dj.Lookup):
9393
"""
9494
contents = zip(range(10))
9595

96-
@schema
97-
class TableA(dj.Manual):
98-
definition = """
99-
table_a: int
100-
"""
101-
102-
103-
@schema
104-
class TableB(dj.Manual):
105-
definition = """
106-
-> TableA
107-
table_b: int
108-
"""
109-
11096

11197
def test_issue558_part1():
11298
q = (A-B).proj(id2='3')
@@ -120,9 +106,13 @@ def test_issue558_part2():
120106

121107
def test_union_join():
122108
# https://github.com/datajoint/datajoint-python/issues/930
123-
TableA.insert(zip([1, 2, 3, 4, 5, 6]))
124-
TableB.insert([(1, 11), (2, 22), (3, 33), (4, 44)])
125-
q1 = TableB & 'table_a < 3'
126-
q2 = TableB & 'table_a > 3'
109+
A.insert(zip([100, 200, 300, 400, 500, 600]))
110+
B.insert([(100, 11), (200, 22), (300, 33), (400, 44)])
111+
q1 = B & 'id < 300'
112+
q2 = B & 'id > 300'
113+
114+
expected_data = [{'id': 0, 'id2': 5}, {'id': 1, 'id2': 6}, {'id': 2, 'id2': 7},
115+
{'id': 3, 'id2': 8}, {'id': 4, 'id2': 9}, {'id': 100, 'id2': 11},
116+
{'id': 200, 'id2': 22}, {'id': 400, 'id2': 44}]
127117

128-
(q1 + q2) * TableA
118+
assert ((q1 + q2) * A).fetch(as_dict=True) == expected_data

0 commit comments

Comments
 (0)