We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f773991 commit 8c0b8a3Copy full SHA for 8c0b8a3
tests/test_relational_operand.py
@@ -476,7 +476,7 @@ def test_null_dict_restriction():
476
# https://github.com/datajoint/datajoint-python/issues/824
477
"""Test a restriction for null using dict"""
478
F.insert([dict(id=5)])
479
- q = F & 'date is NULL'
+ q = F & dj.AndList([dict(id=5), 'date is NULL'])
480
assert len(q) == 1
481
- q = F & dict(date=None)
+ q = F & dict(id=5, date=None)
482
0 commit comments