Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: config #664

Merged
merged 3 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def tests(session):
Run the unit and regular tests.
"""
session.install("-e", ".[dev]")
session.run("pytest", *session.posargs)
session.run("pytest", *session.posargs, env={"PYTHONTRACEMALLOC": "5"})


@nox.session(reuse_venv=True)
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,15 @@ ignore_missing_imports = true


[tool.pytest.ini_options]
testpaths = ["tests"]
minversion = "6.0"
addopts = ["-ra", "--showlocals", "--cov-config=setup.cfg", "--strict-markers", "--strict-config"]
norecursedirs = ["examples", "experiments"]
filterwarnings = [
"always"
]
log_cli_level = "info"
xfail_strict = true
required_plugins = ["pytest-timeout", "pytest-mock"]
timeout = 300
optional_tests = """
Expand Down
4 changes: 0 additions & 4 deletions tests/test_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -1052,10 +1052,6 @@ class TestLocalEncoding:
except NameError:
richstr = chr(40960)

@pytest.mark.xfail(
IS_WIN32,
reason="Unicode output on Windows does not work (Python 3.6+ was supposed to work)",
)
def test_inout_rich(self):
from plumbum.cmd import echo

Expand Down