depot/third_party/nixpkgs/pkgs/development/python-modules/dbf/darwin.patch
Default email ae2dc6aea6 Project import generated by Copybara.
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
2024-10-11 07:15:48 +02:00

12 lines
535 B
Diff

diff --git a/dbf/test.py b/dbf/test.py
index 117f611..34a9507 100755
--- a/dbf/test.py
+++ b/dbf/test.py
@@ -4814,6 +4814,7 @@ def test_index_search(self):
self.assertEqual(sorted.index_search('jul', partial=True), 9)
self.assertTrue(sorted.index_search('jul', partial=True))
+ @unittest.skipIf(sys.platform == 'darwin', 'fails on case-insensitive filesystems')
def test_mismatched_extensions(self):
old_memo_name = self.dbf_table._meta.memoname
new_memo_name = old_memo_name[:-3] + 'Dbt'