rm contrib api code test (#25240)

fix_copy_if_different
zhangchunle 5 years ago committed by GitHub
parent 56fa3880e3
commit 87a4a7ec12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -481,7 +481,10 @@ def get_filenames():
print("\nWARNING:----Exception in get api filename----\n") print("\nWARNING:----Exception in get api filename----\n")
print("\n" + api + ' module is ' + module + "\n") print("\n" + api + ' module is ' + module + "\n")
if filename != '': if filename != '':
if filename not in filenames: # rm contrib file
if filename.startswith('../python/paddle/fluid/contrib'):
pass
elif filename not in filenames:
filenames.append(filename) filenames.append(filename)
# get all methods # get all methods
method = '' method = ''

Loading…
Cancel
Save