From e7801c0b1ed5a31bede69d1be63945227c2c531b Mon Sep 17 00:00:00 2001 From: Peter Van Dyken Date: Thu, 24 Aug 2023 18:47:59 -0400 Subject: [PATCH] More test restrictions for false positives --- snakebids/tests/test_paths/test_bids.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snakebids/tests/test_paths/test_bids.py b/snakebids/tests/test_paths/test_bids.py index d601cfb6..a1eccf5c 100644 --- a/snakebids/tests/test_paths/test_bids.py +++ b/snakebids/tests/test_paths/test_bids.py @@ -240,7 +240,7 @@ def test_dir_entities_each_own_dir(entities: dict[str, str]): @given( entities=_bids_args(entities=HAS_DIR, nonstandard=False, custom=False), - root=_roots(), + root=_roots().filter(lambda s: s != "."), ) def test_directories_in_correct_order(entities: dict[str, str], root: str): tags = _get_entity_tags(entities)