diff options
Diffstat (limited to 'devel/py-pytoolconfig/files/patch-tests_test__pytoolconfig.py')
-rw-r--r-- | devel/py-pytoolconfig/files/patch-tests_test__pytoolconfig.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/py-pytoolconfig/files/patch-tests_test__pytoolconfig.py b/devel/py-pytoolconfig/files/patch-tests_test__pytoolconfig.py new file mode 100644 index 000000000000..1a9c50dfe191 --- /dev/null +++ b/devel/py-pytoolconfig/files/patch-tests_test__pytoolconfig.py @@ -0,0 +1,11 @@ +--- tests/test_pytoolconfig.py.orig 2022-06-28 03:43:15 UTC ++++ tests/test_pytoolconfig.py +@@ -80,7 +80,7 @@ def test_global(cwd): + + + def test_global(cwd): +- if sys.platform != "linux": ++ if not (sys.platform.startswith("linux") | sys.platform.startswith("freebsd")): + pytest.skip() + os.environ["XDG_CONFIG_HOME"] = cwd.as_posix() + config = PyToolConfig("bogus", cwd, NestedModel, global_config=True) |