From: Michael R. Crusoe <michael.crusoe@gmail.com>
Subject: allow test to work post-installation
--- python-schema-salad.orig/schema_salad/tests/test_ref_resolver.py
+++ python-schema-salad/schema_salad/tests/test_ref_resolver.py
@@ -14,8 +14,8 @@
 from schema_salad.tests.util import get_data
 
 
-def is_fs_case_sensitive(path):  # https://stackoverflow.com/a/36612604/1585509
-    with tempfile.NamedTemporaryFile(prefix="TmP", dir=path) as tmp_file:
+def is_fs_case_sensitive():  # https://stackoverflow.com/a/36612604/1585509
+    with tempfile.NamedTemporaryFile(prefix="TmP") as tmp_file:
         return not os.path.exists(tmp_file.name.lower())
 
 
@@ -181,9 +181,7 @@
 
 def test_fetch_inject_id():
     lower = lambda s: s.lower()
-    if is_fs_case_sensitive(
-        os.path.dirname(get_data("schema_salad/tests/inject-id1.yml"))
-    ):
+    if is_fs_case_sensitive():
         lower = lambda a: a
     l1 = Loader({"id": "@id"})
     furi1 = file_uri(get_data("schema_salad/tests/inject-id1.yml"))
