Skip to content

Commit

Permalink
torcheval: disable tests that mutate the filesystem at runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Sparks committed Jan 24, 2025
1 parent d9dc0ff commit ef9125e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/development/python-modules/torcheval/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ buildPythonPackage {

pytestFlagsArray = [
"tests/"

# -- tests/tools/test_module_summary.py --
# models.alexnet(pretrained=True) -> PermissionError: [Errno 13] Permission denied: '/homeless-shelter'
"--deselect=tests/tools/test_module_summary.py::ModuleSummaryTest::test_alexnet_print"
"--deselect=tests/tools/test_module_summary.py::ModuleSummaryTest::test_alexnet_with_input_tensor"
"--deselect=tests/tools/test_module_summary.py::ModuleSummaryTest::test_forward_elapsed_time"
"--deselect=tests/tools/test_module_summary.py::ModuleSummaryTest::test_resnet_max_depth"
];

meta = {
Expand Down

0 comments on commit ef9125e

Please sign in to comment.