Skip to content

Commit

Permalink
Revert patch in test_sysconfig.test_triplet_in_ext_suffix
Browse files Browse the repository at this point in the history
Summary: we no longer customize multiarch and extension suffix in the internal build, so this patch is no longer needed

Reviewed By: amyreese

Differential Revision: D52771575

fbshipit-source-id: ae35a05e526da53a8a0adf67add9af52c51a7aa6
  • Loading branch information
itamaro authored and facebook-github-bot committed Jan 17, 2024
1 parent 8476e31 commit 6028747
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Lib/test/test_sysconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,9 +495,7 @@ def test_triplet_in_ext_suffix(self):
if ctypes.sizeof(ctypes.c_char_p()) == 4:
expected_suffixes = 'i386-linux-gnu.so', 'x86_64-linux-gnux32.so', 'i386-linux-musl.so'
else: # 8 byte pointer size
# START META PATCH (expect our multiarch extension suffix)
expected_suffixes = 'x86_64-linux-gnu.so', 'x86_64-linux-musl.so', 'fb-010-x86_64.so'
# END META PATCH
expected_suffixes = 'x86_64-linux-gnu.so', 'x86_64-linux-musl.so'
self.assertTrue(suffix.endswith(expected_suffixes),
f'unexpected suffix {suffix!r}')

Expand Down

0 comments on commit 6028747

Please sign in to comment.