File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 11"""Test directory configuration."""
22
3+ from __future__ import annotations
4+
35import random
46import warnings
5- from typing import Any , Callable , Iterator , Union
7+ from typing import Callable , Iterator , Union
68
79import pytest
810
@@ -16,12 +18,6 @@ def pytest_addoption(parser: pytest.Parser) -> None:
1618 parser .addoption ("--no-window" , action = "store_true" , help = "Skip tests which need a rendering context." )
1719
1820
19- @pytest .fixture (autouse = True )
20- def add_tcod_to_namespace (doctest_namespace : dict [str , Any ]) -> None :
21- doctest_namespace ["tcod" ] = tcod
22- doctest_namespace ["libtcodpy" ] = libtcodpy
23-
24-
2521@pytest .fixture
2622def uses_window (request : pytest .FixtureRequest ) -> Iterator [None ]:
2723 """Marks tests which require a rendering context."""
You can’t perform that action at this time.
0 commit comments