Skip to content

Commit

Permalink
fix(docs): add null examples header and expected failure (#10496)
Browse files Browse the repository at this point in the history
  • Loading branch information
IndexSeek authored Nov 16, 2024
1 parent 119fd84 commit b1be5ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ibis/expr/types/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -2723,9 +2723,11 @@ def null(type: dt.DataType | str | None = None) -> Value:
`NULL`s with an unspecified type are castable and comparable to values,
but lack datatype-specific methods:
Examples
--------
>>> import ibis
>>> ibis.options.interactive = True
>>> ibis.null().upper()
>>> ibis.null().upper() # quartodoc: +EXPECTED_FAILURE
Traceback (most recent call last):
...
AttributeError: 'NullScalar' object has no attribute 'upper'
Expand Down

0 comments on commit b1be5ea

Please sign in to comment.