Skip to content

Commit 08a30d7

Browse files
committed
fix: add future annotations to test files for Python 3.9 compat
1 parent 59bea79 commit 08a30d7

4 files changed

Lines changed: 8 additions & 0 deletions

File tree

tests/test_harvesters.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
#
1515
# =============================================================================
1616

17+
from __future__ import annotations
18+
1719
"""Tests for the entropy harvesters."""
1820

1921
import pytest

tests/test_integration.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
#
1212
# =============================================================================
1313

14+
from __future__ import annotations
15+
1416
"""Integration tests for the TrueEntropy library."""
1517

1618
import time

tests/test_pool.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
#
1313
# =============================================================================
1414

15+
from __future__ import annotations
16+
1517
"""Tests for the EntropyPool class."""
1618

1719
import threading

tests/test_tap.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
#
1414
# =============================================================================
1515

16+
from __future__ import annotations
17+
1618
"""Tests for the EntropyTap class."""
1719

1820
import math

0 commit comments

Comments
 (0)