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 b20159b commit a1bc2cbCopy full SHA for a1bc2cb
tests/unit/test_schema.py
@@ -346,12 +346,9 @@ def test_foreign_type_definition_property_str(self):
346
347
def test_timestamp_precision_property(self):
348
TIMESTAMP_PRECISION = 3
349
- schema_field = self._make_one(
350
- "test", "TIMESTAMP", timestamp_precision=TIMESTAMP_PRECISION
351
- )
352
- self.assertEqual(
353
- schema_field._properties["timestampPrecision"], TIMESTAMP_PRECISION
354
+ schema_field = self._make_one("test", "TIMESTAMP")
+ schema_field._properties["timestampPrecision"] = TIMESTAMP_PRECISION
+ self.assertEqual(schema_field.timestamp_precision, TIMESTAMP_PRECISION)
355
356
def test_to_standard_sql_simple_type(self):
357
examples = (
0 commit comments