Skip to content

Commit a5fc494

Browse files
committed
test: fix test_expect_distinct_column_values_equals
1 parent 9cc1d35 commit a5fc494

File tree

2 files changed

+5
-582
lines changed

2 files changed

+5
-582
lines changed

tests/expectations/aggregation/any_value_expectations/test_expect_distinct_column_values_equals.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,14 @@ def test_expectation_name():
167167
None,
168168
"timestamp",
169169
),
170-
# Datetime with timezone - 2 distinct values
170+
# Datetime with timezone - 2 distinct values (use different actual timestamps)
171171
(
172172
"pandas",
173173
[
174174
datetime(2023, 1, 1, 12, 0, 0, tzinfo=timezone.utc),
175-
datetime(2023, 1, 1, 12, 0, 0),
175+
datetime(2023, 1, 2, 12, 0, 0, tzinfo=timezone.utc),
176176
datetime(2023, 1, 1, 12, 0, 0, tzinfo=timezone.utc),
177-
datetime(2023, 1, 1, 12, 0, 0),
177+
datetime(2023, 1, 2, 12, 0, 0, tzinfo=timezone.utc),
178178
],
179179
2,
180180
"success",
@@ -185,9 +185,9 @@ def test_expectation_name():
185185
"pyspark",
186186
[
187187
datetime(2023, 1, 1, 12, 0, 0, tzinfo=timezone.utc),
188-
datetime(2023, 1, 1, 12, 0, 0),
188+
datetime(2023, 1, 2, 12, 0, 0, tzinfo=timezone.utc),
189189
datetime(2023, 1, 1, 12, 0, 0, tzinfo=timezone.utc),
190-
datetime(2023, 1, 1, 12, 0, 0),
190+
datetime(2023, 1, 2, 12, 0, 0, tzinfo=timezone.utc),
191191
],
192192
2,
193193
"success",

0 commit comments

Comments
 (0)