μHAL (v2.8.17)
Part of the IPbus software repository
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Functions | Variables
test_chrono Namespace Reference

Functions

def test_chrono_system_clock ()
 
def test_chrono_system_clock_roundtrip ()
 
def test_chrono_system_clock_roundtrip_date ()
 
def test_chrono_system_clock_roundtrip_time (time1, tz, monkeypatch)
 
def test_chrono_duration_roundtrip ()
 
def test_chrono_duration_subtraction_equivalence ()
 
def test_chrono_duration_subtraction_equivalence_date ()
 
def test_chrono_steady_clock ()
 
def test_chrono_steady_clock_roundtrip ()
 
def test_floating_point_duration ()
 
def test_nano_timepoint ()
 
def test_chrono_different_resolutions ()
 

Variables

 SKIP_TZ_ENV_ON_WIN
 
 marks
 

Function Documentation

◆ test_chrono_different_resolutions()

def test_chrono.test_chrono_different_resolutions ( )

Definition at line 203 of file test_chrono.py.

◆ test_chrono_duration_roundtrip()

def test_chrono.test_chrono_duration_roundtrip ( )

Definition at line 125 of file test_chrono.py.

References isinstance().

◆ test_chrono_duration_subtraction_equivalence()

def test_chrono.test_chrono_duration_subtraction_equivalence ( )

Definition at line 146 of file test_chrono.py.

◆ test_chrono_duration_subtraction_equivalence_date()

def test_chrono.test_chrono_duration_subtraction_equivalence_date ( )

Definition at line 157 of file test_chrono.py.

◆ test_chrono_steady_clock()

def test_chrono.test_chrono_steady_clock ( )

Definition at line 168 of file test_chrono.py.

References isinstance().

◆ test_chrono_steady_clock_roundtrip()

def test_chrono.test_chrono_steady_clock_roundtrip ( )

Definition at line 173 of file test_chrono.py.

References isinstance().

◆ test_chrono_system_clock()

def test_chrono.test_chrono_system_clock ( )

Definition at line 10 of file test_chrono.py.

References abs(), and isinstance().

◆ test_chrono_system_clock_roundtrip()

def test_chrono.test_chrono_system_clock_roundtrip ( )

Definition at line 32 of file test_chrono.py.

References abs(), and isinstance().

◆ test_chrono_system_clock_roundtrip_date()

def test_chrono.test_chrono_system_clock_roundtrip_date ( )

Definition at line 46 of file test_chrono.py.

References abs(), and isinstance().

◆ test_chrono_system_clock_roundtrip_time()

def test_chrono.test_chrono_system_clock_roundtrip_time (   time1,
  tz,
  monkeypatch 
)

Definition at line 102 of file test_chrono.py.

References isinstance().

◆ test_floating_point_duration()

def test_chrono.test_floating_point_duration ( )

Definition at line 183 of file test_chrono.py.

References isinstance().

◆ test_nano_timepoint()

def test_chrono.test_nano_timepoint ( )

Definition at line 197 of file test_chrono.py.

Variable Documentation

◆ marks

test_chrono.marks

Definition at line 98 of file test_chrono.py.

◆ SKIP_TZ_ENV_ON_WIN

test_chrono.SKIP_TZ_ENV_ON_WIN
Initial value:
1= pytest.mark.skipif(
2 "env.WIN", reason="TZ environment variable only supported on POSIX"
3)

Definition at line 75 of file test_chrono.py.