Commit efe7e6d
test: add final dbdate compliance tests and sort (#89)
* fix: address failing compliance tests in DateArray and TimeArray
test: add a test session with prerelease versions of dependencies
* fix min/max/median for 2D arrays
* fixes except for null contains
* actually use NaT as 'advertised'
* fix!: use `pandas.NaT` for missing values in dbdate and dbtime dtypes
This makes them consistent with other date/time dtypes, as well as internally
consistent with the advertised `dtype.na_value`.
BREAKING-CHANGE: dbdate and dbtime dtypes return NaT instead of None for missing values
Release-As: 0.4.0
* more progress towards compliance
* address errors in TestMethods
* move tests
* add prerelease deps
* fix: address failing tests with pandas 1.5.0
test: add a test session with prerelease versions of dependencies
* fix owlbot config
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* document why microsecond precision is used
* use correct units
* add box_func tests
* typo
* fix: avoid TypeError when using sorted search
* add unit tests
* fix: dbdate and dbtime support set item
* add TestMethods
* fix: allow comparison with scalar values
* correct behavior for comparison with different types and shapes
* use same dtype in shape comparison tests
* test: add final dbdate compliance tests and sort
* remove redundant index tests
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>1 parent 7495698 commit efe7e6d
File tree
2 files changed
+25
-22
lines changed- tests/compliance/date
2 files changed
+25
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
31 | 38 | | |
32 | 39 | | |
33 | 40 | | |
34 | | - | |
| 41 | + | |
35 | 42 | | |
36 | 43 | | |
37 | 44 | | |
38 | 45 | | |
39 | 46 | | |
40 | 47 | | |
41 | 48 | | |
42 | | - | |
| 49 | + | |
43 | 50 | | |
44 | 51 | | |
45 | 52 | | |
46 | 53 | | |
47 | 54 | | |
48 | 55 | | |
49 | 56 | | |
50 | | - | |
| 57 | + | |
51 | 58 | | |
52 | 59 | | |
53 | 60 | | |
54 | | - | |
55 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
56 | 71 | | |
57 | 72 | | |
58 | 73 | | |
| |||
76 | 91 | | |
77 | 92 | | |
78 | 93 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 94 | + | |
88 | 95 | | |
89 | 96 | | |
90 | 97 | | |
91 | 98 | | |
92 | 99 | | |
93 | 100 | | |
94 | 101 | | |
95 | | - | |
96 | | - | |
| 102 | + | |
| 103 | + | |
97 | 104 | | |
98 | 105 | | |
99 | | - | |
| 106 | + | |
100 | 107 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
0 commit comments