Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 3ce1832

Browse files
committed
NUMERIC → DECIMAL
1 parent 6a18838 commit 3ce1832

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_database.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ class TestNumericPrecisionParsing(unittest.TestCase):
141141
def test_specified_precision(self):
142142
name = "tbl_" + random_table_suffix()
143143
db = get_conn(self.db_cls)
144-
tbl = table(name, schema={"value": "NUMERIC(10, 2)"})
144+
tbl = table(name, schema={"value": "DECIMAL(10, 2)"})
145145
db.query(tbl.create())
146146
t = table(name)
147147
raw_schema = db.query_table_schema(t.path)
@@ -151,7 +151,7 @@ def test_specified_precision(self):
151151
def test_specified_zero_precision(self):
152152
name = "tbl_" + random_table_suffix()
153153
db = get_conn(self.db_cls)
154-
tbl = table(name, schema={"value": "NUMERIC(10)"})
154+
tbl = table(name, schema={"value": "DECIMAL(10)"})
155155
db.query(tbl.create())
156156
t = table(name)
157157
raw_schema = db.query_table_schema(t.path)
@@ -161,7 +161,7 @@ def test_specified_zero_precision(self):
161161
def test_default_precision(self):
162162
name = "tbl_" + random_table_suffix()
163163
db = get_conn(self.db_cls)
164-
tbl = table(name, schema={"value": "NUMERIC"})
164+
tbl = table(name, schema={"value": "DECIMAL"})
165165
db.query(tbl.create())
166166
t = table(name)
167167
raw_schema = db.query_table_schema(t.path)

0 commit comments

Comments
 (0)