We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f5971e commit 93f28d0Copy full SHA for 93f28d0
1 file changed
vmprof/test/test_c_symboltable.py
@@ -108,5 +108,9 @@ def test_sofile_in_srcfile(self):
108
109
assert ffi.string(name[0]) == b"abs"
110
# should be something like /lib64/libc.so.6 (e.g. on Fedora 25)
111
- assert b"libc" in ffi.string(src[0])
112
- assert b".so" in ffi.string(src[0])
+ if sys.platform.startswith("linux"):
+ assert b"libc" in ffi.string(src[0])
113
+ assert b".so" in ffi.string(src[0])
114
+ elif sys.platform == "darwin":
115
+ # osx
116
+ assert b"libsystem_c.dylib" in ffi.string(src[0])
0 commit comments