Option C Tools
Loading...
Searching...
No Matches
missing_func_pattern.py
Go to the documentation of this file.
1#!/usr/bin/env python3
2# -*- coding: utf-8 -*-
3# oct/tests/tests_formatter/fixtures/missing_func_pattern.py
4
5"""
6Purpose
7-------
8Test module.
9
10Responsibilities
11----------------
12- Test func pattern.
13
14Diagnostics
15-----------
16Domain: TEST
17Levels:
18 L2 — lifecycle
19 L3 — semantic
20 L4 — tracing
21
22Contracts
23---------
24- Functions with _dbg() must have func = "..." pattern.
25"""
26
27from oc_diagnostics import _dbg
28
29
31 """My function."""
32 _dbg("TEST", "Processing")
33 print("Hello")
34
35
37 """Another function."""
38 _dbg("TEST", "Start")
39 return 42