From 62e5461da79b3ed46ec117fef9da5d6032af3acc Mon Sep 17 00:00:00 2001 From: Ashwin Bharambe Date: Fri, 7 Feb 2025 11:56:22 -0800 Subject: [PATCH] No spaces in ipynb tests --- docs/conftest.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 docs/conftest.py diff --git a/docs/conftest.py b/docs/conftest.py new file mode 100644 index 000000000..bec535f77 --- /dev/null +++ b/docs/conftest.py @@ -0,0 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the terms described in the LICENSE file in +# the root directory of this source tree. + +def pytest_collection_modifyitems(items): + for item in items: + item.name = item.name.replace(' ', '_')