mirror of
https://github.com/FirebirdSQL/firebird-qa.git
synced 2025-02-02 10:50:42 +01:00
Added/Updated tests\functional\datatypes\test_miscelan_binding.py: minor change: backslash for regexp special characters must be specified twise in order to avoit warnings
This commit is contained in:
parent
ef8d683def
commit
48025dfd6e
@ -5,7 +5,7 @@ ID: miscelan.binding
|
||||
TITLE: Test ability for DECFLOAT values to be represented as other data types using LEGACY keyword.
|
||||
DESCRIPTION:
|
||||
We check here that values from DECFLOAT will be actually converted to legacy datatypes
|
||||
according to following table from sql.extensions\README.set_bind.md:
|
||||
according to following table from sql.extensions/README.set_bind.md:
|
||||
----------------------------------------------------------
|
||||
| Native datatype | Legacy datatype |
|
||||
|--------------------------|-----------------------------|
|
||||
@ -77,7 +77,7 @@ test_script = """
|
||||
select timestamp '2018-01-01 12:00 GMT' as "check_bind_timestamp_with_zone_to_legacy" from rdb$database;
|
||||
"""
|
||||
|
||||
act = isql_act('db', test_script, substitutions=[ (' \d{2}:00:00.0000', ' ??:00:00.0000'), ('charset.*', ''), ('.*alias:.*', ''), ('^((?!(sqltype|check_bind_)).)*$',''), ('[ \t]+',' ') ])
|
||||
act = isql_act('db', test_script, substitutions=[ (' \\d{2}:00:00.0000', ' ??:00:00.0000'), ('charset.*', ''), ('.*alias:.*', ''), ('^((?!(sqltype|check_bind_)).)*$',''), ('[ \\t]+',' ') ])
|
||||
|
||||
expected_stdout = """
|
||||
01: sqltype: 452 TEXT Nullable scale: 0 subtype: 0 len: 5
|
||||
|
Loading…
Reference in New Issue
Block a user