MCPcopy Index your code
hub / github.com/andialbrecht/sqlparse / test_float_numbers

Method test_float_numbers

tests/test_keywords.py:11–13  ·  view source on GitHub ↗
(self, number)

Source from the content-addressed store, hash-verified

9 '1.', '-1.',
10 '.1', '-.1'])
11 def test_float_numbers(self, number):
12 ttype = next(tt for action, tt in Lexer.get_default_instance()._SQL_REGEX if action(number))
13 assert tokens.Number.Float == ttype

Callers

nothing calls this directly

Calls 1

get_default_instanceMethod · 0.80

Tested by

no test coverage detected